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
correct answer is 25 bytes.. since s9(5) comp-3 will take 4
bytes.. not 3 bytes
A-4
B-7
C-8
D-4
E-2
| Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
What rules are to be followed while using the corresponding options?
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?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
State the various causes of s0c1, s0c5 and s0c7.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Write a program that uses move corresponding.
how do you reference the esds vsam file formats from cobol programs
What are declaratives and what are their uses in cobol?
What is difference between static and dynamic call in cobol?
how do you reference the fixed unblock file formats from cobol programs
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Differentiate between structured cobol programming and object-oriented cobol programming.
Why would you use find and get rather than to obtain?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is rmode(24)