Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

setfile - Enable/disable file marker

&pagelevel(4)&pagelevel

The setfile command allows you to define the behavior of FTP for file transfer in particular cases:

  • Mark the end of a file
    There are two ways to mark the exact end of a PAM file:

    • The customary method uses a special string for this, which contains "C-DATEIENDE".

    • The new method called Last Byte Pointer (or LBP for short) uses information that is stored in the file catalog entry. The file itself is not modified. If the file is processed further by programs that have difficulty handling the marking with the special string, the appending of this marker must be disabled or the LBP method used instead.

  • Records without content (dummy records) can be assigned a blank by FTP so that EDT accounts for the records when they are output on the terminal.

setfile

[datend on | off | lbp] [pademptyrec on | off]


datend on | off | lbp

Enables/disable the use of the EOF marker "C-DATEIENDE" or enables the use of the new EOF marking method LBP (lpb).
on is the default.

pademptyrec on | off

Enables/disables the insertion of a blank in dummy records.
off is the default.

If you specify setfile without parameters, FTP outputs the current settings for datend and pademptyrec.

If you want to set datend and pademptyrec on the FTP server, enter quote site sfil. The parameters correspond to the setfile parameters.

The status command (see "status - Display FTP status information") likewise provides information on the datend and pademptyrec settings.