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 / guest
Folloiwng will be space allocation:
A - 4
B - 7
C - 8
D - 3
E - 2
Total 24 bytes.
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What are the various section in data division and briefly explain them.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
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.
Whats the difference between search & search ALL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how do you reference the variable block file formats from cobol programs
What is the difference between goback, stop run and exit program in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Name the divisions, which are available in a cobol program?
what is difference between cobol and cobol/400
How many sections are there in data division in COBOL?
what is amode(24), amode(31), rmode(24) and rmode(any)?