Use
the DSWAITTIME statement to specify the number of minutes that FTP
tries to access an MVS™ data set
that could not be obtained because another job or process was holding
the data set. FTP tries to access the data set approximately every
minute for the number of minutes specified in the DSWAITTIME statement.
Restriction: The DSWAITTIME statement does not support tape
data sets.
- Server
- Specifies how many minutes the server tries to access to MVS data set.
- Client
- Specifies how many minutes the client tries to access to MVS data set.
Rule: The FTP server reply that displays
the holder and other useful information related to the MVS data set is issued only when REPLYSECURITYLEVEL
is 0.
Syntax
![Read syntax diagram](./c.gif)
.-DSWAITTIME 0---------.
>>-+----------------------+------------------------------------><
'-DSWAITTIME --minutes-'
Parameters
- minutes
- The number of minutes to wait for an MVS data
set to become available. Valid values are 0 (DSWAITTIME not used)
or 1 - 14400. The default is 0.
Rule: If DSWAITTIME is
set to 0, the timer is not set, and only one attempt is made to access
an MVS data set.
Guidelines: - The FTP server ignores the DSWAITTIME configuration option for
RENAME FROM (RNFR), RENAME TO (RNTO), and DELETE (DELE) commands.
- If the DSWAITTIME configuration option is not 0, also specify
the DATAKEEPALIVE configuration option.
- If you experience control connection timeouts while the server
is waiting for access to an MVS data
set, try configuring a nonzero value for FTPKEEPALIVE at the client
or the server. If keepalive packets do not prevent FTP control connection
timeouts, configure a smaller DSWAITTIMEREPLY value.
Examples
Use the following code to set
the data set wait time to 10 minutes:
DSWAITTIME 10