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
Answer / suresh kumar
total 19 bytes, For furtyher expansion you can see deepaks
answer.
Is This Answer Correct ? | 1 Yes | 6 No |
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 |
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 |
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 |
) How do u handle errors in BMS macro
A s9(4). B v9(4) value 0.21 can i move this?
What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?
What is the local-storage section?
what is scope terminator
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.
Whtz the specialty of 77 level number ?
What are the steps you go through while creating a COBOL program executable?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
What is SET TO TRUE all about, anyway?
What is the difference between performing a SECTION and a PARAGRAPH?
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please