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
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
State the various causes of s0c1, s0c5 and s0c7.
Why occurs cannot be used in 01 level in COBOL?
Write down the divisions of cobol program?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How do you reference the following file formats from cobol programs?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How do we get current date from system with century in COBOL?
what is search and searchall?what is the diffrence between them?give an best example?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
In COBOL programming, what is PERFORM? What is VARYING?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Write the code to count the sum of n natural numbers.
) how do u code after getting data?