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
How to print 10 to 1 if the input have only 10 digit number?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the difference between comp and comp-3?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between next sentence and continue in cobol programing language?
How many sections are there in data division in COBOL?
What are the pertinent COBOL commands?
What is a scope terminator give example?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Whats the difference between search & search ALL?
How to know whether the module is dynamical or statistical?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Explain how to differentiate call by context by comparing it to other calls?
What is the use of intialize verb?