Installing the SMF SVC Supervisor Routine Using JPZSMFI
In order to write the SMF records, you must first install the SVC supervisor routine. A JCL job template that installs the SVC supervisor routine is supplied with the Jopaz installation. After the installation, you can find the JPZSMFI job in the Jopaz JOBS library.
Use the SMFTYPE parameter to specify the SMF data record type (200-255). By default, this is set to 225.
To change the SMF record type, simply execute the JCL job again; it is not necessary to uninstall the routine first.
Note:
In all cases, the JPZSMFI program must be loaded from an APF-authorized library.
These are the possible condition codes for the job step in which JPZSMFI is executed:

Condition Code | Explanation
00 | SVC routine JPZSVC has been installed, updated or removed successfully.
04 | SVC routine JPZSVC not updated (as unchanged) or not removed (as not installed).
08 | SMFTYPE parameter is missing or invalid.

If the SVC cannot be installed, the JPZSMFI program abends with one of the following codes:

Abend code | Explanation
100 | SVC 109 module not found in z/OS nucleus.
104 | Invalid ESR3 table length.
108 | Invalid ESR3 table eye catcher.
112 | Invalid SVC code eye catcher.
200 | GETMAIN for SVC routine storage failed.
300 | FREEMAIN for SVC routine storage failed.