Example 1: Fixed-Length Records  - 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. Sample Fixed-Length Records

The PICTURE and VALUE clauses for (1) the record passed from MFX, (2) the record WORK area, and (3) the record in the output buffer are application-specific.

  • For the first definition (EXIT-STATUS) specify PIC 9(8) COMPUTATIONAL. When using 88 levels to define exit status codes, specify values 00, 04, and 08.

  • For the second definition (RECORD-UP) define the record leaving Phase 3.

  • For the third definition (WORK) define the record that MFX is to put in the output data set. This is the "work" area.

  • For the fourth definition (IN-BUF) define the record in the output data set.

  • For the fifth definition define a dummy area with PIC X(4).

  • For the sixth through the eighth definition define dummy areas.

  • For the ninth definition (COMM-LEN) specify PIC 9(4) COMPUTATIONAL. This area defines the communication area length.

  • For the tenth definition (COMMUNICATION-AREA) code an OCCURS clause DEPENDING ON data-name PIC X.