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


Please Help Members By Posting Answers For Below Questions

Why would you use find and get rather than to obtain?

683


) how do u code after getting data?

1579


What are the access modes of START statement?

719


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

706


What is cobol?

744






What are declaratives and what are their uses in cobol?

711


What is amode(31)

721


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.

1115


how to convert the recors form vsam file to db2 table tru file aid

2762


What is amode(24)?

682


What are different data types in cobol?

687


How you can characterize tables in cobol?

715


What the difference is between continue and next sentence?

656


What are the various section in data division and briefly explain them.

698


How do u write test cases?

1633