Parameter Files [ COBOL/HP-UX Compatibility Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Compatibility Guide for the Series 700 and 800
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 partof the command line, replacing the
@filename.
The parameter file is an ASCII text file which can contain any of the
options described in Invoking Rebuild earlier in this manual.
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, then a suitable message
is displayed on the command line.
MPE/iX 5.0 Documentation