MPE/iX Commands Reference Manual (32650-90877)

120 Chapter4
Command List II
Commands CALC thru COPY
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 COB74XLG command compiles, links, and executes a program using the ANSI 1974
standard entry point. If you do not specify
textfile
, HP COBOL II/iX expects the source
program to be entered from your standard input device. If you do not specify
listfile
,HP
COBOL II/iX sends the output to your standard list device.
The object file created during compilation is a system-defined temporary file, $NEWPASS,
which is passed directly to the Link Editor as $OLDPASS. The Link Editor purges the object
file and writes the linked program to $OLDPASS, which is then executed and may be
executed repeatedly.
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 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, link, and execute an HP COBOL II/iX program entered from your standard
input device and send the program listing to your standard list device, enter:
COB74XLG
To compile, link, and execute an HP COBOL II/iX program from the disk file TEXTFL and
send the program listing to the disk file LISTFL, enter:
COB74XLG TEXTFL,LISTFL
Related Information
Commands COB74XL, COB74XLK, LINK, RUN, XEQ, LINKEDIT Utility
Manuals HP COBOL II/XL Reference Manual
HP COBOL II/XL Programmer's Guide
HP Link Editor/iX Reference Manual
COB74XLK
Compiles and links an HP COBOL II/iX program using the 1974 ANSI standard entry