A SERVICE OF

logo

Chapter 3 141
Command Definitions C-E
COB74XL
Once the file is created, XDB expects the fully qualified name of the file to
be unchanged. A FILE equation could be used if the file is renamed.
Operation Notes
The COB74XL command compiles an HP COBOL II/iX program into an object file on disk.
If you do not specify textfile, HP COBOL II/iX expects your input from your standard input
device. If you do not specify listfile, HP COBOL II/iX sends the program listing to the
current list device.
You cannot backreference the formal file designators used in this command (COBTEXT,
COBOBJ, COBLIST, COBMAST, COBNEW, COBWKSP, and COBXDB) 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.
NOTE This command is recognized only if HP COBOL II/iX is installed on your
system. This command is implemented as a command file. If you set the
HPPATH variable to null (SETVAR HPPATH ""), the command file is not
executed, and the command fails.
Use
This command may be issued from a session, job, or program but not in BREAK. Pressing
Break suspends the execution of this command. Entering the RESUME command continues
the execution.
Examples
To compile an HP COBOL II/iX program stored in the file SOURCE into an object file called
OBJECT, and send the listing to the disk file LISTFL, enter:
COB74XL SOURCE,OBJECT,LISTFL