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 |
What are the different data types available in COBOL?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
What R 2 of the common forms of the EVALUATE STATEMENT ?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
) how do u code after getting data?
which is better either static call or dynamic call? and why?
how the control comes back from subprogram to mainprogram
Can JUSTIFIED be used for all the data types?
how would find total records in files using seqientional