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
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
For rewrite, why is it mandatory that file needs to be opened?
HOw can I get the negative sign while deduct high value from low value
What is a scope terminator give example?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Why occurs cannot be used in 01 level in COBOL?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
how do you reference the esds vsam file formats from cobol programs
What is rmode(any) ?
explain sorting techniques in cobol program?
What is report-item in COBOL?
How do we get current date from system with century in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
How do u write test cases?