The content discusses the importance of proper planning for coding in CICS programming. It emphasizes the need to understand the sequential order of steps in CICS coding. Additionally, it mentions the CICS logic for record deletion.

CICS: Read and Delete a Record
First option is READ a record with UPDATE option.
EXEC CICS
READ FILE(FILEA) INTO(record1) RIDFLD(key1)
UPDATE
END-EXEC
The next thing is DELETE a record:
EXEC CICS
DELETE FILE(FILEA) RIDFLD(Key1)
END-EXEC
Conclusion
In summary, the above code works to delete a single record, which already READ with UPDATE option.
External references
Related







You must be logged in to post a comment.