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 are the different data types in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is amode(24)?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is rmode(24)
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
explain sorting techniques in cobol program?
What are 77 levels used for?
how do you reference the esds vsam file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
In COBOL programming, what is PERFORM? What is VARYING?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
A table has two indexes defined. Which one will be used by the SEARCH?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?