MBREQUIRELASTEOL (FTP client and server) statement

Use the MBREQUIRELASTEOL statement to specify whether FTP requires the last record of incoming multibyte files to end with the FTP standard EOL sequence.

Server
This setting applies when the server is receiving a multibyte file from the client.
Client
This setting applies when the client is receiving a multibyte file from the server.

Syntax

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

Parameters

TRUE
FTP reports an error when a multibyte file is received from the network without an EOL sequence in the last record received and aborts the file transfer. The CONDDISP configuration option determines whether the file or data set is saved or deleted.
FALSE
FTP does not report an error when a multibyte file is received from the network without an EOL sequence in the last record received. The file or data set is stored.
Results:
  • If MBREQUIRELASTEOL is set to FALSE, and you have coded CHKCONFIDENCE TRUE in FTP.DATA, the confidence level reported when a multibyte file is received from the network without an EOL sequence in the last record is High.
  • If MBREQUIRELASTEOL is set to TRUE, and you have coded CHKCONFIDENCE TRUE in FTP.DATA, the confidence level reported when a multibyte file is received from the network without an EOL sequence in the last record is Low.

Examples

To enable the FTP server to receive multibyte files that are sent with no EOL sequence on the final record, code the following statement in the server's FTP.DATA:

MBREQUIRELASTEOL FALSE

Related topics