Is there any way to call an Ideal program from a non-Ideal one?
book
Article ID: 38262
calendar_today
Updated On:
Products
Ideal
Issue/Introduction
Is there any way to call an Ideal program from a non-Ideal (i.e. Cobol, PL/1, Assembler,…) one?
Resolution
Ideal cannot be called from a non-Ideal program in batch.
In CICS, there are two ways:
An Ideal asynchronous RUN can be invoked from a non-Ideal CICS application (see Additional Information section below).
For synchronous tasks, the non-Ideal program can invoke an Ideal transparent signon transaction via EXEC CICS START command. Then, at the end of the Ideal run, the control can be passed back to the non-Ideal transaction using a SET FINAL-ID; however that means you would be back at the beginning of the non-Ideal transaction so you would need a way to tell the non-Ideal program you had already executed the Ideal session. Either Datacom/DB records or CICS temporary storage could be used. The temporary storage option requires the Ideal program to call a non-IDEAL subprogram to read and write any CICS TSQueues.