How many bytes will be allocated for the following record
description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.
Answer Posted / ezhil_18
@ above
COMP3 data require always requrie n+1/2 bytes. here 5+1/2
takes only 3 bytes not 4 bytes.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Explain how to differentiate call by context by comparing it to other calls?
Why would you use find and get rather than to obtain?
What is link edit in cobol?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What kind of error is trapped by on size error option?
) how do u code after getting data?
What are the pertinent COBOL commands?
Name the divisions, which are available in a cobol program?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How to remove 2 duplicate records and copy only one using job control language?
Name some of the examples of COBOl 11?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is Pic 9v99 Indicates in COBOL?
What is the difference between external and global variables in COBOL?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.