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


Please Help Members By Posting Answers For Below Questions

What are INPUT PROCEDURE and OUTPUT PROCEDURE?

680


What do you understand by psb and acb?

661


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

709


How many sections are there in data division in COBOL?

676


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

708






EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052


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

2718


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.

2052


how to access the file from prodution from changeman tool and to submit a file to production

6680


) what is the difference between AID and HANDLE AID?

1630


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8638


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.

5052


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

677


Explain how you can characterize tables in cobol?

636


How to know whether the module is dynamical or statistical?

650