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 / guest
It should be 54. (ie 6 + 8*6)
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Are you comfortable in cobol or jcl?
What is the difference between binary search and sequential search?
What is the difference between goback, stop run and exit program in cobol?
) How do u handle errors in BMS macro
In COBOL, what is the different between index and subscript?
Can we change the password using ALTER? anyone tried and changed?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Name the sections present in data division.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What are the different rules for performing sort operation?
What is the problem of ordered sequential files access?
How do you reference the fixed block file formats from cobol programs