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 / asif
05 A PIC S9(4). = 4
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
LENGTH OF REC-A = 24 BYTES.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
A table has two indexes defined. Which one will be used by the SEARCH?
What rules are to be followed while using the corresponding options?
What is the usage of comp fields in cobol?
) how do u code after getting data?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
When is inspect verb is used in cobol?
What are declaratives and what are their uses in cobol?
What is the difference between next sentence and continue in cobol programing language?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is rmode(any) ?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is redefines clause in COBOL?
What is the difference between goback, stop run and exit program in cobol?
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?