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 / khamuruddin
05 A PIC S9(4). = 4
05 B PIC XXXBXXX. = 7
05 C PIC ____9.99. = 4
05 D PIC S9(5) COMP-3. = 3
05 E PIC 9(3) COMP. = 2
-------
20
-------
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
i want a program using by if, evaluate , string, unstring, perform, occurs?
Can a Search can be done on a table with or without Index?
how do you reference the esds vsam file formats from cobol programs
How do you reference the fixed block file formats from cobol programs
Give some examples of command terminators?
What are literals?
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 kind of error is trapped by on size error option?
what is search and searchall?what is the diffrence between them?give an best example?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are the different rules for performing sort operation?
Write the code implementing the perform … varying.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you reference the fixed unblock file formats from cobol programs