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
Are you comfortable in cobol or jcl?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is static and dynamic call in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is cobol?
example for sub strings ? and refernce modifications whit output pls
What are the various section in data division and briefly explain them.
What are 77 levels used for?
What is the problem of ordered sequential files access?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Write a program that uses move corresponding.
Which mode is used to operate the sequential file?
What is the usage of comp fields in cobol?
What is redefines clause in COBOL?