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
State the various causes of s0c1, s0c5 and s0c7.
What is a SSRANGE and NOSSRANGE?
What is the usage of comp fields in cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How many sections are there in data division in COBOL?
IF I mention stop run in CICS what happens?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How to print 10 to 1 if the input have only 10 digit number?
What is inspect in cobol ?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Write down the divisions of cobol program?
Discuss about changing dataset name in proc.
What is the difference between comp and comp-3 usage?