Addressing other environments

Use the REXX ADDRESS instruction to change the destination of commands. The IMS Adapter for REXX functions through two host command environments: REXXTDLI and REXXIMS. Other host command environments can be accessed with an IMS EXEC as well.

The z/OS® environment is provided by TSO in both TSO and non-TSO address spaces. It is used to run other programs such as EXECIO for file I/O. IMS does not manage the z/OS EXECIO resources. An IMS COMMIT or BACKOUT, therefore, has no effect on these resources. Because EXECIO is not an IMS-controlled resource, no integrity is maintained. If integrity is an issue for flat file I/O, use IMS GSAM, which ensures IMS-provided integrity.

If APPC/MVS is available, other environments can be used. The environments are:
APPCMVS
Used for z/OS-specific APPC interfacing
CPICOMM
Used for CPI Communications
LU62
Used for z/OS-specific APPC interfacing

Related reading: For more information on addressing environments, see z/OS TSO/E REXX Reference.