Causes the item to be aligned on natural boundaries. Can be SYNCHRONIZED LEFT or RIGHT.
For binary data items, the address resolution is faster if they are located at word boundaries in the memory. For example, on main frame the memory word size is 4 bytes. This means that each word will start from an address divisible by 4. If my first variable is x(3) and next one is s9(4) comp, then if you do not specify the SYNC clause, S9(4) COMP will start from byte 3 ( assuming that it starts from 0 ). If you specify SYNC, then the binary data item will start from address 4. You might see some wastage of memory, but the access to this computational field is faster.
Posted Date:- 2021-09-03 05:38:49
what is the difference between external and global variables?
What Are The Steps You Go Through While Creating A Cobol Program Executable?
How Do You Set A Return Code To The Jcl From A Cobol Program?
In The Jcl, How Do You Define The Files Referred To In A Subroutine ?
What Care Has To Be Taken To Force Program To Execute Above 16 Meg Line?
What is the difference between the NEXT SENTENCE and CONTINUE in COBOL programing language?
For what 66 and 88 level used in Cobol?
What are an SSRANGE and NOSSRANGE?
How Can I Tell If A Module Is Being Called Dynamically Or Statically?
What guidelines should one follow while writing a structured COBOL-based program?
Differentiate between structured COBOL program and Object Oriented COBOL Program.
What are the characteristics of COBOL as a business language?
What kinds of errors are caught by the ON SIZE ERROR OPTION?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How Is Sign Stored In A Comp-3 Field?
How Is Sign Stored In Packed Decimal Fields And Zoned Decimal Fields?
Can I Redefine An X(100) Field With A Field Of X(200)?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What kind of error is trapped by ON SIZE ERROR option?
Define static linking and dynamic linking.
State the various causes of S0C1, S0C5, and S0C7.
When Would You Use In-line Perform?
What is the function of REPLACING in a COPY statement?
Is COBOL still used, or is it still worth learning?
What are the modes of File opening in COBOL?
What is the point of the REPLACING option of a copy statement?
What is Static and Dynamic linking?
What are the different OPEN modes available in Cobol?
What is the difference between performing a SECTION and performing a PARAGRAPH?
What is the difference between CONTINUE & NEXT SENTENCE?
What is the difference between performing a SECTION and a PARAGRAPH?
What is AMODE(24), AMODE(31), RMODE(24) and RMODE(ANY)?
What is SOC-7 abend? What do you do to resolve SOC-7 error?
What Is The Use Of Evaluate Statement?
What Is The Difference Between Performing A Section And A Paragraph?
What Should Be The Sorting Order For Search All?
What is the difference between a binary search and a sequential search?
What Is The Difference Between Search And Search All?
What Is The Difference Between Index And Subscript?
What is meant by IS NUMERIC clause?
List a few features of the COBOL language
What are the different divisions of a COBOL program?