Difference between file status codes 02 and 22.... since both are for duplicate key detection.



Difference between file status codes 02 and 22.... since both are for duplicate key detection...

Answer / 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

More COBOL Interview Questions

What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


What is perform what is varying?

0 Answers  


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,


Why occurs can not be used in 01 level ?

2 Answers   TCS,






what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.

3 Answers   CTS,


what is sync clause?

2 Answers   DELL,


how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...

1 Answers   ITC Infotech,


What are decleratives in COBOL ?

1 Answers   Xansa,


what is index and how to use two tables using index?

1 Answers  


Categories