The following are the optional parameters of the ARCHDEL macro:
- WAIT
- specifies whether you want the application to wait until DFSMShsm has
processed this request. If YES is specified, the application waits
until DFSMShsm completes
processing of the request. The default is NO. This parameter applies
to both SMS-managed and non-SMS-managed data sets.
- PURGE
- specifies whether or not the data set is to be deleted even
though the expiration date has not been reached. If YES is specified,
the data set is deleted. The default is NO. This parameter applies
to both SMS-managed and non-SMS-managed data sets.
- SNAPDCB
- specifies the address of an open DCB that can be used for SNAP
macro processing. This feature is intended for problem determination.
If you specify this parameter, review Usage notes. For dcbaddr,
specify the address of an open DCB.
- TEST
- specifies whether to refrain from sending a request for service
to DFSMShsm.
If YES is specified, the service request is not sent. If NO is specified,
a service request is sent to DFSMShsm. In both cases the parameters of the
macro are checked for correctness. A 4xx return
code results for invalid parameters. The default is NO.