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 / sri
It has to be 54 (6 + (8*6)) if we remove PIC clause from d.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What do you understand by psb and acb?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How many sections are there in data division in COBOL?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
how to access the file from prodution from changeman tool and to submit a file to production
) what is the difference between AID and HANDLE AID?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Explain how you can characterize tables in cobol?
How to know whether the module is dynamical or statistical?