TRUNC - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
Content type
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Topic type
How Do I
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T08:14:56.318001
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.