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 / 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 |
Post New Answer View All Answers
Difference between array and sub-script ?
What are various search techniques in cobol? Explain.
Write some characteristics of cobol as means of business language.
How you can characterize tables in cobol?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How do you reference the fixed block file formats from cobol programs
how do you reference the rrds file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
How do get the result of your program directly on your pc?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are declaratives and what are their uses 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?
Discuss about changing dataset name in proc.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?