Previous Topic: Executing a Subprogram AsynchronouslyNext Topic: Parameter Matching for CA Ideal Subprograms


Requirements for Subprograms

Any subprogram called by a CA Ideal program must follow certain conventions.

Beyond these facts, there are a number of significant differences between the requirements for the design and use of CA Ideal subprograms and of non-Ideal subprograms. For example, when the subprogram is coded in COBOL, PL/I, or Assembler, it is written and maintained outside of CA Ideal. When the subprogram executes, CA Ideal relinquishes control to the subprogram.

You should be careful that the non-Ideal subprogram does not modify the CA Ideal environment. When a CA Ideal subprogram executes, CA Ideal maintains control of the environment. Due to this major difference, the remainder of this section is divided into two parts: Calling CA Ideal Subprograms and Calling non-Ideal Subprograms.

Note: CA Ideal programs cannot be called as subprograms by programs written in other languages when executing in batch. Online, a CICS command level program can invoke a CA Ideal session by using the EXEC CICS START command to start a CA Ideal transparent sign-on. For more information about transparent sign-on, see the Administration Guide.