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 / raj
05 A PIC S9(4) -> 4
05 B PIC XXXBXXX -> 7
05 C PIC ____9.99 -> 4
05 D PIC S9(5) COMP-3 -> 3
05 E PIC 9(3) COMP -> 2
SO TOTAL OF 20 BYTES
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can you please let me know the centre name of INS certification in Kolkata.
Difference between array and sub-script ?
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
How to print 10 to 1 if the input have only 10 digit number?
how do you reference the variable block file formats from cobol programs
Describe the cobol database components?
how do you reference the esds vsam file formats from cobol programs
What the difference is between continue and next sentence?
What are the different rules of SORT operation?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between next sentence and continue in cobol programing language?
How do you get the data to code the BMS macro?
Explain what you understand by passing by value.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example