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 / suresh kumar
sorry to post the last answer, I would like to go for 24
bytes.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between Global and External Variables?
What is an in line perform? When would you use it? Anything else you wish to say about it.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is rmode(any) ?
Can we redefine the field of x(200) to less than 200?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between external and global variables in COBOL?
How do you reference the fixed block file formats from cobol programs
Write a program to enter and display the names of students in a class using the occurs clause.
What is the difference between comp and comp-3 usage?
Explain how to differentiate call by context by comparing it to other calls?
What is rmode(24)