Using the exit routine for pre- and post-processing

The exit routine is called:
  • Start of changeFor preprocessing before calling the R_PKIServ (IRRSPX00) SAF callable service.End of change
  • For post-processing after returning from the callable service.
The following table summarizes the values of the first two arguments for pre- and post-processing. (Additional arguments vary, depending on the function to perform.)
Table 1. Values of arguments for pre- and post-processing
Time of processing Argument 1 Argument 2
Preprocessing 0 The function number from the R_PKIServ SAF callable service in EBCDIC:
1
GENCERT
2
EXPORT
9
REQCERT
11
REVOKE
12
GENRENEW
13
REQRENEW
17
QRECOVER
Post-processing 1 The function number from the R_PKIServ SAF callable service in EBCDIC:
1
GENCERT
2
EXPORT
9
REQCERT
11
REVOKE
12
GENRENEW
13
REQRENEW
17
QRECOVER
Note: The parameters that are input to the CGIs and the values that are resolved by the CGIs (argument 3…argument n for all functions) vary based on how you have customized the templates.