BBXL [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation
MPE/iX Commands Reference Manual Volume I
BBXL
Initiates execution of the HP Business BASIC/XL interpreter. HP Business
BASIC/XL is not part of the 900 Series HP 3000 Computer System
Fundamental Operating Software and must be purchased separately. (Native
Mode)
Syntax
BBXL [commandfile][,[inputfile][,[listfile]]][;XL=xllist]
NOTE This command follows the optional MPE/iX command line syntax.
Refer to "Optional Format for MPE/iX Commands" at the beginning of
this chapter.
Parameters
commandfile The name of an ASCII file that contains a set of
HP Business BASIC/XL commands and/or statements.
The formal file designator is BASCOM. Default is
$STDINX.
inputfile Actual file designator of the file containing data
input for a HP Business BASIC/XL program. Formal
file designator is BASIN. Default is $STDINX.
listfile Actual file designator of the destination file for
the program listing and output. This can be any
ASCII output file. Formal file designator is
BASOUT. Default is $STDLIST.
xllist A quoted list of the executable libraries which is
searched when resolving external procedure
references during execution of a user's program.
NOTE The formal file designators used in this command (BASCOM, BASIN,
and BASOUT) cannot be backreferenced as actual file designators in
the command parameter list. For further information, refer to the
"Implicit FILE Commands for Subsystems" discussion of the FILE
command.
Operation Notes
The BBXL command is generally used for online programming in HP Business
BASIC/XL, but it can also be used to interpret
HP Business BASIC/XL programs in batch mode. In batch mode, the HP
Business BASIC/XL >EXIT or >:: command is required as the last statement
in the command file. HP Business BASIC/XL has its own online help
facility.
NOTE This command is implemented as a command file. If you set the
HPPATH variable to null (SETVAR ""), the command file is not
executed and the command fails.
Use
This command may be issued from a session, job, or program. It is not
available in BREAK. Pressing Break suspends the execution of this
command. Entering the RESUME command continues the execution.
Examples
To enter commands and data from your standard input device, with the
program listing and output transmitted to the standard output device
(both of these are usually the terminal in interactive mode), use:
BBXL
You may also enter commands and statements to the HP Business BASIC/XL
interpreter by using input files that you have stored on disk. Files
created using the editor must be kept with the UNN (unnumbered) option of
the editor's KEEP command. In this example, HP Business BASIC/XL
interpreter commands and statements are entered from the command file
MYCOMDS. The data that the program uses is stored in the input file
MYDATA. The program listing and output are written to the file MYLIST.
BBXL MYCOMDS,MYDATA,MYLIST
If you have compiled a number of library procedures into an executable
library named MYXL.MYGRP.MYACCT and wish to reference these in a program
in the interpreter, use:
BBXL XL='MYXL.MYGRP.MYACCT'
Appropriate EXTERNAL and/or INTRINSIC statements in your program are used
to define the formal parameters, and an alias, if required, for the
external procedure in the executable library.
Related Information
Commands BBXLCOMP, BBXLGO, BBXLLK
Manuals HP Business BASIC/XL Migration Guide (32715-60002)
HP Business BASIC/XL Reference Manual (32715-60001)
MPE/iX 5.0 Documentation