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


Please Help Members By Posting Answers For Below Questions

What is a report item?

817


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

768


Difference between array and sub-script ?

1251


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2841


Give some examples of command terminators?

854






What is the use of intialize verb?

866


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5243


How do we get current date from system with century in COBOL?

933


How do get the result of your program directly on your pc?

1970


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5502


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

853


Are you comfortable in cobol or jcl?

727


What the difference is between continue and next sentence?

755


How do you reference the fixed block file formats from cobol programs

809


explain sorting techniques in cobol program?

791