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.

Answers were Sorted based on User's Feedback



How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / deepak

A-3
B-7
C-4
D-3
E-2

Is This Answer Correct ?    1 Yes 6 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / suresh kumar

total 19 bytes, For furtyher expansion you can see deepaks
answer.

Is This Answer Correct ?    1 Yes 6 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / 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

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / guest

Folloiwng will be space allocation:
A - 4
B - 7
C - 8
D - 3
E - 2

Total 24 bytes.

Is This Answer Correct ?    2 Yes 8 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / anil

23 bytes

Is This Answer Correct ?    0 Yes 6 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / 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

More COBOL Interview Questions

) How do u handle errors in BMS macro

0 Answers   IBM,


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


What is the local-storage section?

0 Answers  


what is scope terminator

2 Answers   IBM,






I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.

3 Answers   IBM,


Whtz the specialty of 77 level number ?

2 Answers   Infosys,


What are the steps you go through while creating a COBOL program executable?

3 Answers  


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


What is SET TO TRUE all about, anyway?

5 Answers  


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 Answers  


Categories