Answer Posted / deepak goyal
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.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol?
how do you reference the ksds vsam file formats from cobol programs
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
how do you reference the variable unblock file formats from cobol programs
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are the different data types in cobol?
How many sections are there in data division in COBOL?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is redefines clause in COBOL?
What is a scope terminator give example?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
State the various causes of s0c1, s0c5 and s0c7.
How do you define a variable of comp-1 and comp-2?