RESTGET (FTP client) statement

Use the RESTGET statement to specify whether the FTP client should open the checkpoint data set for a GET request.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-RESTGET TRUE-------.   
>>-+--------------------+--------------------------------------><
   '-RESTGET--+-TRUE--+-'   
              '-FALSE-'     

Parameters

TRUE
Specifies that the checkpoint data set is opened for a GET request. This is the default.
FALSE
Specifies that the checkpoint data set is not opened for a GET request.

Examples

RESTGET  FALSE ; do not open the checkpoint data set

Usage notes

The FTP client opens the checkpoint data set for a GET or MGET request when the following conditions are met:
  • The data type is EBCDIC
  • The file type is SEQ
  • The transmission mode is either block or compressed
  • The UNIXFILETYPE value is FILE when the local file is a z/OS® UNIX file

Guideline: Use RESTGET FALSE to prevent the open of the data set. If the data set is not opened, a failed data transfer in block or compressed mode cannot be restarted.

Related topics