Previous Topic Next topic Print topic


Specifying Record Length for Zero-length Line Sequential Files

The MFREXX_LSEQ_RECSIZE_MAX environment variable enables you to specify the record length for the REXX EXECIO command when reading or writing a line sequential file that has been cataloged with a record length of zero.

You should set the environment variable before you start the enterprise server in the Configuration Information field on the Add Server or Edit Server pages of ES Admin, as follows:

[ES-Environment]
MFREXX_LSEQ_RECSIZE_MAX=rec-length

Alternatively, you can set in on the command line before you start the enterprise server:

SET MFREXX_LSEQ_RECSIZE_MAX=rec-length
MFREXX_LSEQ_RECSIZE_MAX=rec-length
export MFREXX_LSEQ_RECSIZE_MAX

where rec-length is the record length to use. The default is 255, which is the minimum value you can use. Specifying an invalid value, or a value less than 255, results in the default value being used.

Previous Topic Next topic Print topic