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 / milan kumar
a PIC X(6)-------------6B
b REDEFINES A ---------0B
IF WE REMOVE PIC CLUSE
D=( E PIC X(5)+F PIC 999)
D=(8B OCCURS 6 TIMES)
D----------------------48B
----------
TOTAL OF 54B
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the variable block file formats from cobol programs
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how do you reference the ksds vsam file formats from cobol programs
What are the access modes of START statement?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is rmode(24)
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what happens if parmparameter passes zero bytes to the program
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is perform what is varying?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Define static linking and dynamic linking.