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

Calling out a batch program

From a CICS program, I am trying to make a call to a batch program. Is this possible? This is not the sort of thing...

that CICS applications should be doing. However, you can get away with it depending on what and how the batch program is doing. If it's just doing some sort of calculation, then just access it in the normal way for your language assuming that it does not do anything that does not fit with CICS, like the way it terminates.

A more proper way is to code up the batch program to act via the CICS RMI facilities. This will undoubtedly be a non-trivial task.

The other and best or safer way is to use the spooler functions and submit a batch job and then read the output back from spool.

Robert Harris
Inventor
CICS Technical Strategist -- CICS expert at Search390.com

Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.


This was last published in April 2003

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close