Does anybody know or have a JCL to close CICS files from batch using something like IEBGENER, IDCAMS, etc. Or do you have a to use some specific software to do that?
That works up to a point. But you don't get any feedback, and if MVS is stressed it can ignore commands sent to the console buffer, so it is possible to run the batch job 'successfully' and leave the files open to CICS.
Writing your own tool using EXCI should only take about half an hour or so, and it's much more reliable. Plus you can set a return code so your scheduling software can see if the job worked properly or not. Just remember to set the correct options on the translate step.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.