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


Please Help Members By Posting Answers For Below Questions

Can you please let me know the centre name of INS certification in Kolkata.

1708


Difference between array and sub-script ?

1156


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

2093


How to print 10 to 1 if the input have only 10 digit number?

804


how do you reference the variable block file formats from cobol programs

675






Describe the cobol database components?

672


how do you reference the esds vsam file formats from cobol programs

625


What the difference is between continue and next sentence?

651


What are the different rules of SORT operation?

689


What is the difference between PIC 9.99 and PIC9v99?

771


What is the difference between next sentence and continue in cobol programing language?

700


How do you get the data to code the BMS macro?

1470


Explain what you understand by passing by value.

686


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

639


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1910