Difference between file status codes 02 and 22.... since both are for duplicate key detection.
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 |
In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?
What is the utilization of copybook in cobol?
How are the next sentence and continue different from each other?
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
how will u pass dadta to cobol+db2 program...?
how to transfer the file from pc to mainframe??
) What is the use of IGNORE?
wht is load module and object module ?
How do you reference the following file formats from cobol programs?
Whats the use of Examine command? can someone help me?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.