Absent Member.
Absent Member.

Trigger Online from batch and vice versa


We have a set of CL programs running in AS400 systems that trigger online transactions/programs(using STRCICSUSR command) from batch programs. And another set of online programs which trigger batch programs using SBMJOB commands.

We have to re-engineer these programs to make them run in MicroFocus environment. Can someone provide some insights on how this can be achieved in MicroFocus? 

1 Reply
Micro Focus Expert
Micro Focus Expert

When asking questions, please specify the product, version, and platform.

Also, it's "Micro Focus". Two words.

You mention CICS on the AS/400 (now System i). Are you using Micro Focus Enterprise Server? With or without the Mainframe Subsystem (MSS) option?

Under Enterprise Server with MSS, you can start CICS transactions from a non-CICS environment, such as a standalone program, a COBOL web service, or a batch (JCL) job, using the EXCI facility. See the product documentation for more details.

A CICS program can start a JCL batch job by writing to the internal reader or using SSTM. A non-CICS program can submit a JCL batch job by calling the CASSUB API, or executing the cassub command-line program.

If you're referring to non-JCL batch programs, then the answer would depend on what mechanism executes your batch programs.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.