SBSUB (FTP client and server) statement

Use the SBSUB statement in the server and client FTP.DATA to specify whether a substitution is allowed for data bytes that cannot be translated. You can also use the SIte and LOCSIte subcommands to set this keyword.

Server
Specifies the whether substitution is allowed on the server's system.
Client
Specifies the whether substitution is allowed on the client's system.

Syntax

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

Parameters

FALSE
Substitution is not allowed for single-byte character translation. This causes a data transfer failure if a character cannot be mapped during the transfer. This is the default value.
TRUE
Substitution is allowed for single-byte character translation. The SBSUBCHAR statement defines the substitution value for untranslatable characters.

Examples

To disable substitution for single-byte character translation, code the following:
SBSUB   FALSE

Related topics