z/OS MVS IPCS Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Design Example

z/OS MVS IPCS Customization
SA23-1383-00

The following is a high-level example of a CTRF exit routine:
  1. Locate the work area (field CTXIUSWA in the CTXI data area) and determine if this routine has been called before.
  2. For the first call to this routine, do the following:
    1. Initialize CTXIUSWA.
    2. On the first call, parse the application-specific option string to determine which CTEs must pass through filtering and be formatted. If any errors occur, the CTRF exit routine issues an error message using the IPCS expanded print service and sets a failing return code. The routine saves the results in the work area.
  3. Apply application-unique filter options, or defaults, to the CTE.
  4. Set the return code.
  5. Return to the caller.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014