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 / priyanka
I think t will be 25 since
05 A PIC S9(4). - 5 :4 + 1 sign byte
05 B PIC XXXBXXX. - 7
05 C PIC ____9.99. - 8
05 D PIC S9(5) COMP-3. - 3
05 E PIC 9(3) COMP. - 2
__________________________________________
Total = 25 bytes
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
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.
What is the difference between PIC 9.99 and 9v99 in COBOL?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Write the code to count the sum of n natural numbers.
Name the divisions, which are available in a cobol program?
What is static and dynamic call in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are the different rules for performing sort operation?
What are the various section in data division and briefly explain them.
How do we get current date from system with century in COBOL?
What is link edit in cobol?
What is a SSRANGE and NOSSRANGE?
What is redefines clause in COBOL?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..