The first thing any CICS programmer must do is proper plan for coding. What step first and what step next gives a fair idea on CICS coding. This question asked in CICS interviews many times.
Related: Python+Jobs+Best skill by Udemy
First option is READ a record with UPDATE option.
READ FILE(FILEA) INTO(record1) RIDFLD(key1)
The next thing is DELETE a record:
DELETE FILE(FILEA) RIDFLD(Key1)
So, the above code works to delete a single record, which already READ with UPDATE option.