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 / jai
01 rec1.
02 a pic x(6) == 6
02 b redefines a. == 6
03 c occus 6 times pic 9. == 6
02 d occurs 6 times.
03 e pic x(5) ==30
03 f pic 999. ==18
------
66
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are the different rules for performing sort operation?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
what are decleratives in cobol?
What are the pertinent COBOL
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Which division and paragraphs are mandatory for a COBOL program?
Explain how to differentiate call by context by comparing it to other calls?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Which is not true about evaluate statement
What is Pic 9v99 Indicates in COBOL?
Why would you use find and get rather than to obtain?
Can we change the password using ALTER? anyone tried and changed?