Customizing VPSSCDI

VPSSCDI creates the control blocks that the IBM® Connect:Direct® API uses to build the SIGNON, SUBMIT, and SIGNOFF commands. Any customized validation or modification to the IBM Connect:Direct control blocks is done at this point.

You can change printer values to reflect the destination environment. For example, you can change the destination name to a printer name at your location.

You can perform security or usage validation by validating any fields and either continuing the processing or returning to VPS with the appropriate return code settings.

The VPS return code settings are:

  • RC=00 Normal execution continues.
  • RC=04 Print file is requeued per VPS printer specifications.
  • RC=08 The printer is EDRAINed.
Note: Do not change VPS control blocks.