Appendix F. User Exits
The platform server currently supports six types of user exits.
EXIT00: End of Transfer Exit
At the successful or unsuccessful completion of a file transfer, the platform server for z/OS can branch to a user exit called FUSEX00.
EXIT01: Transfer Authorization Checking Exit
Before performing its data set authorization checking, the platform server for z/OS can branch to a user exit called FUSEX01.
This exit is invoked at transfer execution time. It is therefore possible for a user to queue a transfer successfully, yet with the transfer failing at execution time.
EXIT03: HSM Migration Exit
With the HSM migration exit, you can perform actions when an HSM migration volume is detected by the platform server.
DMS (CA Disk™ Backup and Restore Utility) uses a pseudo volume ARCIVE for archived data sets. However, the actual volume that the data set resides on is MIGRAT. In this case, to call EXIT03 you must ensure HSM_MIGRATE_VOLUME parameter does not equal MIGRAT and the EXIT_MIGRATE_VOLUME parameter is equal to MIGRAT.
Return Code | Server Response |
---|---|
0 | Continue processing. |
1 | Wait for the interval defined by the GLOBAL EXIT_MIGRATE_WAIT_TIME. If the catalog volume changes within this interval, the platform server processes the request. If the catalog volume does not change within this interval, the request is terminated with an error. |
4 | The request is treated as a temporary error and retried at the next retry interval. |
> 4 | The request is treated as permanent error and will be terminated. |
EXIT04: Responder Preallocation Exit
The preallocation exit is called for responder transfers, just before the platform server allocating a file. It is called before the user ID and password is verified, and just after CFALIAS processing is performed.
Return Code | Server Response |
---|---|
0 | Continue processing with no changes. |
1 | The user exit has changed the local file name or the file status and disposition. The platform server will use these changes in the current transfer. |
8 | The request is treated as permanent error and will be terminated. |
other | The request is treated as permanent error and will be terminated. |
EXIT05: Purge from Queue Exit
At the successful or unsuccessful completion of a file transfer when the transfer is purged from the queue, the platform server can branch to a user exit called FUSEX05.
EXIT06: Add to Queue Exit
This exit is called at the time a transfer request is queued to the server.
- Terminate the transfer.
- Check the specified transfer parameters.
- Change the following properties of a file transfer.
- Effect (create, replace, append, create/replace, create/append, create/replace/new)
- Encryption
- Compression
- Local file name (data set name)
- Remote file name
- Description
- Local user
- Remote user
- Remote password
- Return code
- Last message
- Process name
- Date eligible
- Time eligible
- Execution priority
- Hold transfer
- Remote system
Return Code | Server Response |
---|---|
0 | Continue processing with no changes. |
1 | The user exit has changed transfer parameters. The platform server will use these changes in the current transfer. |
8 | The request is treated as permanent error and will be terminated. |
other | The request is treated as permanent error and will be terminated. |