User exit return codes

Resource attribute update user exit programs can allow the associated API command by setting return code 0, and disallow the API command by setting return code 8. Resource attribute update user exit programs for the following API commands can also allow the command while adjusting resource attributes by setting return code 4: Alter, Copy, Create, Migrate, Rename, and Update. (User exits programs for Delete and Rename cannot adjust resource attributes.)

Similarly, change package pre-processing user exit programs can allow or disallow the API command, and modify parameters to affect the API command. Return codes set by change package post-processing user exit programs have no effect on the associated API command, because these programs are invoked only after the API command has successfully completed.

Start of change Operations qualification user exit programs can either allow or disallow the associated API command (Install, Discard, or Newcopy). End of change

Return code
Description
0
Allow the API command (with no updates to resource attributes by the user exit program).
4
Allow the API command with updates, as per the modified parameters in the communications area
8
Disallow the API command
12, 16
Either:
  • "Construction" error: the exit program expected a parameter that was not present in the communication area, or contained an unexpected value.

    or

  • The exit program experienced an environmental error (for example, security or file access error) during processing.

Information Information

Feedback


Timestamp icon Last updated: Friday, 7 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///ccv-server-exit-return-codes.htm