When there are 2 records with the same key specified in a
DELETE operation what will happen?
Answers were Sorted based on User's Feedback
Answer / ramakrishna
First it will fail for duplicate key.if not it will
work as below.
If you would have specified "GENERIC" option in EXEC
CICS DELETE command it will delete all the records which
ever it finds in the file with the key it have. (Mass Delete)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mahesh
The first record that is in the line up of records will be
deleted.
| Is This Answer Correct ? | 1 Yes | 3 No |
first when i try to write a record into the file, wresp=duprec, but follwed with that if i try to read the record it say record not fnd.. actually the record is not written in the file, but it says that duprec when trying to write... why this happens, pls help me asap..!
What is the use of using MDT in CICS? How it works?
Can you use occurs in bms map?
What is ENQ in CICS?
How would you resolve an ASRA abend?
How does COBOL11 and CICS release 1.7 provide for exceptional and how does that differ from VS COBOL and earlier CICS release?
What is the term bms in cics?
Explain the maps in cics?
What is the purpose of the Program List Table?
How to handle exceptional conditions in cics?
What are the parameters that you have to give when you are using the CSSN transaction?
What is temporary storage?