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


Please Help Members By Posting Answers For Below Questions

What is the default value(s) for an initialize and what keyword allows for an override of the default?

836


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

844


What are the different rules for performing sort operation?

856


What is the difference between a binary search and a sequential search what are the pertinent cobol?

827


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2841






what are decleratives in cobol?

1905


What are the pertinent COBOL

2126


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

2041


Which division and paragraphs are mandatory for a COBOL program?

795


Explain how to differentiate call by context by comparing it to other calls?

797


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2847


Which is not true about evaluate statement

1852


What is Pic 9v99 Indicates in COBOL?

842


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

778


Can we change the password using ALTER? anyone tried and changed?

1634