1 FIXED_LENGTH
    This program reads a file with variable or fixed length
 records, and writes a file with fixed length records.

    Format

     FIXED_LENGTH input_file_spec [output_file_spec]

2 Parameters

input_file_spec

    Specifies the name of a file to be processed.

output_file_spec

    If included, will specify the name of the file to write.
 If not specified, the output file will have the same name and
 extension as the input file.

2 Qualifiers

/RECORD_SIZE

    /RECORD_SIZE = number

    If specified, the output records will be the size specified;
 otherwise, the record size defaults to 128.

    The qualifier may be placed anywhere in the command line: it
 always applies to the output file only.

    All valid RMS record sizes may be specified, but not all make 
 sense (there is probably no reason to write a file with 1 byte
 records).

2 Examples

 $ FIXED_LENGTH program.exe program.128

    This command reads an executable program and writes a file with
 fixed-length 128 byte records.  Such a file is suitable for
 transmission with XMODEM and similar file transfer programs.

 $ FIXED_LENGTH program.128 program.exe /RECORD = 512

    This command restores the file to the fixed record length of 512
 bytes required by VMS for executable programs.

 $ FIXED_LENGTH myfile.mac

    This command converts a file named "myfile.mac" to fixed length
 128 byte records.  The output file is also called "myfile.mac", but
 will have a version number 1 higher than the input file.

2  Disclaimer

    This is a public domain program written by B. Z. Lederman.

    No warranty of any kind is given as to the accuracy of the
 information supplied, or the actions performed by the program.

