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 / raj
05 A PIC S9(4) -> 4
05 B PIC XXXBXXX -> 7
05 C PIC ____9.99 -> 4
05 D PIC S9(5) COMP-3 -> 4
05 E PIC 9(3) COMP -> 2
SO TOTAL OF 21 BYTES
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How many bytes S(8) comp field occupy and its maximum value?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Name some of the examples of COBOl 11?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How do you differentiate between cobol and cobol-ii?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is perform what is varying?
How to know whether the module is dynamical or statistical?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Differentiate between structured cobol programming and object-oriented cobol programming.
what is the use of outrecord?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?