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 are decleratives in cobol?
Write a program to enter and display the names of students in a class using the occurs clause.
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is amode(31)
What are the different rules for performing sort operation?
what is search and searchall?what is the diffrence between them?give an best example?
What is Pic 9v99 Indicates in COBOL?
What is the difference between next sentence and continue in cobol programing language?
Explain what you understand by passing by value.
Explain about different table spaces.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
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)?
What is the difference between comp and comp-3?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)