Answer Posted / nagaraj ramamoorthy
The purpose of the SYNC clause (when it was introduced) was
to align the data names to the natural machine word
boundaries so that it will be efficient to retrieve data.
This was introduced when the processing speed was very slow
and system was built on word architecture. Modern systems
are quite fast and this does not make significant
difference.
It can be used to numeric and alphanumeric data items. you
can also specify how to align RIGHT/LEFT. if you do not
specify, complier will take the best one that is efficient.
It should be used with 01 and 77 levels and it should not
be used with group items, because compiler will add
bits/bytes in between group items so finding the exact size
will be difficult for the programmer.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is length is cobol?
How do you reference the fixed block file formats from cobol programs
IF I mention stop run in CICS what happens?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
) how do u code after getting data?
How do you reference the following file formats from cobol programs?
Which Search verb is equivalent to PERFORM…VARYING?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
In COBOL programming, what is PERFORM? What is VARYING?
What are all the divisions of a COBOL program?
what is search and searchall?what is the diffrence between them?give an best example?
What are the rules of the move verb?
What are the various section in data division and briefly explain them.