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 -> 4
05 E PIC 9(3) COMP -> 2
SO TOTAL OF 21 BYTES
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
) how do u code after getting data?
What are the access modes of START statement?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is cobol?
What are declaratives and what are their uses in cobol?
What is amode(31)
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
how to convert the recors form vsam file to db2 table tru file aid
What is amode(24)?
What are different data types in cobol?
How you can characterize tables in cobol?
What the difference is between continue and next sentence?
What are the various section in data division and briefly explain them.
How do u write test cases?