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 / madhu
A - 2
B - 7
C - 4
D - 3
E - 2
Total 18 bytes.
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is difference between static and dynamic call in cobol?
Why did you choose to work with ibm mainframe cobol programming?
Explain how you can characterize tables in cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
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
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How arrays can be defined in COBOL?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to know whether the module is dynamical or statistical?
What are the access modes of START statement?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how to move the records from file to array table. give with code example