UCSTRUNC (FTP client and server) statement

Use the UCSTRUNC statement to specify whether the transfer of Unicode data should be aborted if truncation occurs at the MVS™ host. Truncation can occur if the LRECL of the receiving data set is not large enough to contain a line of Unicode data after it has been converted to EBCDIC.

UCSTRUNC applies to inbound data transfers only.

Syntax

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

Parameters

TRUE
Specifies that truncation is allowed. The data transfer continues even if EBCDIC data is truncated.
FALSE
Specifies that truncation is not allowed. The transfer is to be aborted if the LRECL of the receiving data set is too small to contain the data after conversion to EBCDIC.

Result: The setting of CONDDISP determines what happens to the target data set if the transfer is aborted.

Examples

To specify that truncation is not allowed, use the following code:
 UCSTRUNC FALSE

Related topics