Version 3.2.1
 —  System Administration  —

Long Records

This section describes the use of long records; it covers the following topics:


How It Works

To enable the support of long records, you have to define a long record container file in Monitor Defaults. Once you have done this, you can specify on a report definition's JES identification that this report is derived from a spool file containing long records (this field only becomes visible when a long record container DBID and FNR have been defined).

When the monitor scans the JES queues, any spool file which would cause the creation of a long record report is copied into the defined container file and all subsequent processing is performed on the copy in the container file. By default, the original spool file will not be cleaned up by Entire Output Management unless Automatic Cleanup defaults specifies "Y" for Spool Cleanup and for Long records (the latter is only visible if a long record container file has been defined).

Top of page

Container File Format

The long records are segmented into 124-byte segments, so that, even if a segment contains 124 X'01's, it can still be compressed and decompressed correctly. The format of each segment is:

Segment length I2
Last segment indicator A1 - blank in all segments except the last, when it is Y.
Compressed segment data A248

Top of page

Restrictions

Top of page

Separation Exits

Separation exits are invoked for long record reports. However, instead of a record at a time being passed, a segment at a time is passed. This means that the separation exit needs to be sensitive to the data format. For example:

There is an example exit in SYSNOMS(SJULONGX) which inserts lines into a long record report.

Top of page

Considerations when Migrating

When a report defined as containing long records is transferred to another system file, the long record flag is not copied, because Entire Output Management does not know if a long record container file is defined in the target environment.

If the long record container DBID and FNR are subsequently deleted, any report which has long records set to "Y" cannot be processed correctly at active report creation time (existing active reports are not affected).

The following error message is written to the Entire Output Management log:

                          Display Log Message

 Message ... NOM1112 Long Record Container File not defined               
 User ID ... MAIN
 Code .....  MO
 Object .... UKSJU-LONG-RECORDS/UKSJULNG/53078/SO/2
 Date ...... 2007-11-08
 Time ...... 16:26:26
 Report ....                           Number ..
 Bundle ....                           Number ..
 Job name ..                           Number ..
 Printer ...  

   

Also, the following is written to the monitor output:

RMSCJES2 2007-11-08 16:26:26 Invalid long record container file   0   0
UKSJU-LONG-EXIT/UKSJULNG/53078/SO/2

Top of page