Answer Posted / vamsi
In a general scenario, we cannot use two 01 level numbers in
the same structure.
We can use this when we want to redefines entire structure only.
Eg:
01 ws-input.
10 name pic x(40).
10 desig pic x(40).
01 ws-input-re redefines ws-input
10 name pic x(30).
10 department pic x(10).
10 designation pic x(20).
10 salary pic s9(13)v99.
10 filler pic x(13).
this way we can use.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What the difference is between continue and next sentence?
What are all the divisions of a COBOL program?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write a program to explain size error.
Which is not true about evaluate statement
how do you reference the variable block file formats from cobol programs
How to print 10 to 1 if the input have only 10 digit number?
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?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How can you get the ksds file records into your cobol program?
) how do u code after getting data?
What is the difference between external and global variables in COBOL?
What is the difference between perform … with test after and perform … with test before?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are various search techniques in cobol? Explain.