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 / madhu
A - 2
B - 7
C - 4
D - 3
E - 2
Total 18 bytes.
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
how do you reference the fixed unblock file formats from cobol programs
what happens if parmparameter passes zero bytes to the program
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.
What is the difference between PIC 9.99 and 9v99 in COBOL?
explain sorting techniques in cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
) How do u handle errors in BMS macro
What is the utilization of copybook in cobol?
What are literals?
How do u write test cases?
How to remove 2 duplicate records and copy only one using job control language?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is static and dynamic call in cobol?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
how to access the file from prodution from changeman tool and to submit a file to production