Rules for Specifying Sort Control Fields - 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
Copyright
2024
First publish date
2010
Last updated
2024-11-06
Published on
2024-11-06T17:38:26.716054
  • For fixed-length records, all control fields and the sum of their lengths cannot exceed 4092 bytes. When EQUALS is in effect, the number is reduced 4 bytes to 4088 bytes. EXTCOUNT also reduces the number by 4 bytes. Thus, if both EQUALS and EXTCOUNT are in effect, the number is reduced to 4084 bytes.

  • For variable-length records, all control fields must be located within the first 32750 bytes and the sum of their lengths cannot exceed 4084 bytes. When EQUALS is in effect, all control fields must be located within the first 32746 bytes and the sum of their lengths cannot exceed 4080 bytes.

  • Control fields can be in contiguous or non-contiguous locations in the record.

  • Remember that for variable-length records, the first 4 bytes are reserved for the Record Descriptor Word, so the first byte of the data portion of the record is byte 5.

  • If the output file is a key-sequenced VSAM cluster, the VSAM key must be the first control field specified.