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 / ezhil_18
@ above
COMP3 data require always requrie n+1/2 bytes. here 5+1/2
takes only 3 bytes not 4 bytes.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
how to convert the recors form vsam file to db2 table tru file aid
Difference between cobol and cobol-ii?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
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 to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Discuss about changing dataset name in proc.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
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?
) How do u handle errors in BMS macro
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Can we change the password using ALTER? anyone tried and changed?
explain sorting techniques in cobol program?
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.
For rewrite, why is it mandatory that file needs to be opened?