Compatibility between environments

Once you have written a CICSPlex® SM API program to run in one environment, you can take that program and run it in another environment with only minor modifications.

For example, if you want to take a CICS® application written with EXEC CPSM commands and convert it to an MVS batch program, you should:
  • Make the appropriate code changes, such as:
    • Remove any EXEC CICS commands that may be included
    • Add the necessary MVS calls
  • Relink-edit the program with the batch environment stub routine.
Note: A REXX program can be moved from one MVS environment (batch, TSO, or NetView) to another without modification, provided you have not used any environment-specific functions.
Before you try to move an EXEC CPSM program to an environment other than the one for which it was written, you should review the following sections: