Difference between file status codes 02 and 22.... since both are for duplicate key detection.
Answer Posted / azharuddinsyed
Yes, both are "DUPLICATE KEY" condition. But, the differences are
02 is Duplicate key condition during read/write/rewrite of indexed files only
where as
22 is duplicate key condition during write/rewrite of indexed files(KSDS) or relative files(RRDS)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is difference between static and dynamic call in cobol?
What is amode(31)
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 ?
What are the pertinent COBOL
Are you comfortable in cobol or jcl?
) How do u handle errors in BMS macro
What the difference is between continue and next sentence?
explain sorting techniques in cobol program?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are 77 levels used for?
What are declaratives and what are their uses in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Why did you choose to work with ibm mainframe cobol programming?