TRUNCATE ={YES | NO | WRAP}
This parameter is only used when receiving a file from Windows, UNIX, IBMi or MFT Internet Server when record delimiters are defined. This parameter is ignored for a SEND or when communicating to another zOS system.
The valid values are:
- NO: If the record received from the partner is greater than the LRECL, a truncate error occurs and the transfer is terminated with an error.
- YES: If the record received from the partner is greater than the LRECL, the record is truncated and any data after the LRECL is lost.
- WRAP: If the record received from the partner is greater than the LRECL, the record is truncated and any data after the LRECL is written to the next record. If the record received has no delimiters within the first 32760 bytes, a truncate error occurs and the transfer is terminated with an error. In cases like this, you should turn off delimiter checking, so records will be written without any delimiter checking.
Copyright © Cloud Software Group, Inc. All rights reserved.