Command Parameters [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
Command Parameters
Each of the following parameters is a file name, but its form depends on
command type. A file name can be any string expression in an interpreter
command. A file name must be a valid, unquoted file name in an operating
system command.
Parameters
infile Name of BASIC SAVE source file containing HP Business
BASIC/XL program. If infile is not a NMBSV file, an
error occurs and compilation terminates.
This parameter is required in operating system commands,
but is optional in interpreter commands. The default
infile for an interpreter command is the current
program, automatically saved in a temporary NMBSV file.
objfile Name of binary file that the compiler writes the object
code into. It can be either an NMOBJ or an NMRL file.
The default objfile is $OLDPASS if it exists and is type
NMOBJ; otherwise, it is $NEWPASS. If the system uses
$NEWPASS as objfile, it changes the name of the file to
$OLDPASS when it closes it.
To create a new, permanent NMOBJ file, do any one of the
following:
* Specify a filename that is not in a directory as
this parameter. The operating system creates a
permanent NMOBJ file of the correct size and type.
* $OLDPASS is the NMOBJ file, save it to the permanent
file space with the operating system command :SAVE
$OLDPASS, filename.
* Build an NMOBJ file with the link editor command,
BUILDRL.
* Build a file with the operating system command
:BUILD, using filecode parameter NMOBJ.
To create a new, permanent NMRL file, do any one of the
following:
* Build an NMRL file with the link editor command,
BUILDRL.
* Build a file with the operating system command
:BUILD, using filecode parameter NMRL.
listfile Name of ASCII file that the compiler writes the compiler
listing into. The default listfile is $STDLIST.
listfile can be the terminal or a spoolfile.
progfile Name of binary file that the link editor writes the
program into. The default progfile, $NEWPASS, is
renamed $OLDPASS when closed.
To create a new, permanent program file, do any one of
the following:
* Specify a filename that is not in a directory as
this parameter. The system creates a temporary file
of the correct size and type.
* If $OLDPASS is the NMPRG file, save it to the
permanent file space with the operating system
command :SAVE $OLDPASS, filename.
* Build a new file with the operating system command
:BUILD, using filecode parameter NMPRG.
If progfile exists, the operating system reuses it. An
error occurs if progfile is too small, or if its
filecode is not NMPRG.
MPE/iX 5.0 Documentation