Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / sudheer
COmp will take 2byte pic size-1-4
4byte pic size 5-9
8byte pic size 10-18
if we use comp-3 it will take n/2+1/2 byte extra for sign if
pic is odd no.if it is even it will take n/2.
my answer is 8 bytes
pls let me know if any thng wrong
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you understand by psb and acb?
What is the difference between Call and a Link?
how do you reference the printer file formats from cobol programs
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How you can read the file from bottom?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how do you reference the esds vsam file formats from cobol programs
how do you reference the variable block file formats from cobol programs
How many sections are there in data division in COBOL?
Give some examples of command terminators?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
For rewrite, why is it mandatory that file needs to be opened?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
what is the use of outrecord?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?