This has come up a lot of times before in this forum -- have a look back in time. You use the EXCI interface as documented in the External CICS interfaces book. Supportpacs provides some code to do this operation from a JCL step or from a Rexx Exec. It should be easy enough to take this code and convert it into a routine callable from your batch COBOL program.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs? Continue Reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology. Continue Reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible? Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.