Problem solve Get help with specific problems with your technologies, process and projects.

Closing a VSAM file in CICS

I am trying to find out if i can close VSAM file in CICS program.
No, you cannot. Normally you do not need to, it is not like coding I/O for batch, where you code OPEN and CLOSE for files. In CICS you just use EXEC CICS READ and EXEC CICS WRITE, no open or close needed. In fact, COBOL OPEN and CLOSE are not allowed in CICS. See the CICS manuals online here.

Dig Deeper on IBM system z and mainframe systems