TRUNC - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ software
Product
Syncsort™ MFX > MFX
Version
3.1
ft:locale
en-US
Product name
Syncsort™ MFX
ft:title
Syncsort™ MFX Programmers Guide
Copyright
2024
First publish date
2010
ft:lastEdition
2025-02-20
ft:lastPublication
2025-02-20T09:24:15.574000
Figure 1. TRUNC Format

 

TRUNC specifies the action to be taken if the LRECL defined in the JCL for a non-OUTFIL SORTOUT is smaller than the SORTIN/SORTINnn LRECL or the internally processed record length when the SORTIN/SORTINnn LRECL is modified by features.

RC0

The delivered default instructs MFX to issue a WER462I message, truncate the output records, and issue a return code of zero.

RC4

Instructs MFX to issue a WER462I message and truncate the output records. A return code of 4 will be issued if not overridden by a higher return code set for another reason.

RC16

Instructs MFX to issue a WER462A message and terminate processing with a return code of 16.

Note that for a BetterGener application TRUNC will be ignored. The installation parameter SOTRNGN will control processing for these applications. TRUNC will be ignored in applications in which the SORTIN/SORTINnn or SORTOUT is a VSAM data set.