Determine the total no of bytes in the following.
01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.
Answer Posted / sri
It has to be 54 (6 + (8*6)) if we remove PIC clause from d.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How do u write test cases?
What is a SSRANGE and NOSSRANGE?
) How do u handle errors in BMS macro
what happens if parmparameter passes zero bytes to the program
What is rmode(24)
Can we change the password using ALTER? anyone tried and changed?
What is the Purpose of Pointer in the string?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between Call and a Link?
Discuss about changing dataset name in proc.
Have you used comp and comp-3 in your project? And how?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is difference between static and dynamic call in cobol?