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
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What type of SDLC u followed? Why?
In COBOL programming, what is PERFORM? What is VARYING?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
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
Explain what you understand by passing by value.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Why did you choose to work with ibm mainframe cobol programming?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are literals?
Define static linking and dynamic linking.
how do you reference the ksds vsam file formats from cobol programs
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how can i see junk values in dclgen or in hostvariable of comp ?
How do u write test cases?