External interfaces for applications, EXIT and RUN

Maps can interface with other maps, functions in libraries, or programs using the EXIT function, the RUN function or an adapter as a data source or target.

You can implement an adapter or EXIT function through a:

  • library interface using a function in a library
  • program passing a command line

You can invoke a user exit by specifying the EXIT function on a map rule, or by specifying an external library or application on a source or target card.

Platform-specific limitations can determine the availability and usage of these interface methods on a particular platform.

For example, the following table summarizes by platform the availability (Y) of the RUN function, the library interface, and program interface.

Table 1. External interfaces for user exits and RUN function
Platform User Exit: External Library User Exit: Application RUN Function
HP-UX (PA-RISC)     Y
RS/6000 AIX Y   Y
Windows     Y
z/OS Batch Y Y Y
z/OS CICS   Y Y

For information about the RUN and EXIT functions, see the Functions and Expressions documentation.