HP 3000 Manuals

Parameter Files [ Micro Focus COBOL Compatibility Guide ] MPE/iX 5.0 Documentation


Micro Focus COBOL Compatibility Guide

Parameter Files 

At any point on the Rebuild command line, you can specify an &@ character
followed by the name of a parameter file.  This indicates that parameters
are to be taken from the named file.  The contents of the parameter file
are treated as if they were part of the command line, replacing the
&@file-name.

The parameter file is an ASCII text file which can contain any of the
options described in the section Invoking Rebuild earlier in this
chapter.

You can specify the parameters in free format, with spaces being
non-significant (line ends are treated as spaces).  The file must not be
bigger than 1024 bytes.  You may include comments in the file by
preceding them with an asterisk (*).  Anything following the asterisk is
treated as a comment, up to the end of the line.

The following is an example of how you can specify a parameter file on
the Rebuild command line:

     rebuild badms001.dat,ms001.dat @ms001.par

where:

ms001.par is an ASCII text file containing the following line:

     /s:ms1 /o:i /r:v100-200 /k:1+20,25+5:40+12:60+3,85+10d

or the following lines (which are equivalent to the line above):

     * Works master file - conversion parameters

       /s:ms1 * Microsoft v1 indexed file
       /o:i
       /r:v   100 - 200 * Variable length records
       /k:
                1 +  20   , * prime key - first part
               25 +   5   :  *           - 2nd part

               40 +  12   :  * 1st alternate key
               60 +   3   , * 2nd alternate key (with duplicates)
     *         - first part
               85 +  10 d *                      - second part

If a parameter in a parameter file is in error, a suitable message is
displayed on the command line.



MPE/iX 5.0 Documentation