How many bytes will be allocated for the following record
description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.

Answer Posted / madhu

A - 2
B - 7
C - 4
D - 3
E - 2

Total 18 bytes.

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you get the data to code the BMS macro?

1470


What is the LINKAGE SECTION used in COBOL?

885


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1223


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895


Explain what you understand by passing by value.

686






) How do u handle errors in BMS macro

1500


What is the Purpose of Pointer in the string?

636


How many bytes S(8) comp field occupy and its maximum value?

1624


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.

5049


Name some of the examples of COBOl 11?

2673


Explain the configuration section of a cobol program with examples of syntax.

650


how do you reference the rrds file formats from cobol programs

787


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

704


How do you differentiate between cobol and cobol-ii?

646


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1016