HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 3 163
Command Definitions C-E
COBOLIIGO
Operation Notes
The COBOLIIGO command compiles, prepares, and executes a compatibility mode program
using the COBOL 74 compiler. If you do not specify textfile, COBOLII expects the source
program to be entered from your standard input device. If you do not specify listfile,
COBOLII sends the output to your standard list device.
The USL file created during compilation is a system-defined temporary file, $OLDPASS,
which is passed directly to the MPE segmenter. The segmenter purges the USL file and
writes the prepared program to $OLDPASS, which is then executed and may be executed
repeatedly.
You cannot backreference the formal file designators used in this command (COBTEXT,
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.
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 compile, prepare, and execute a compatibility mode COBOLII program entered from
your standard input device and send the program listing to your standard list device,
enter:
COBOLIIGO
To compile, prepare, and execute a COBOLII program from the disk file TEXTFL and send
the program listing to the disk file LISTFL, enter:
COBOLIIGO TEXTFL,LISTFL
Related Information
Commands COBOLII, COBOLIIPREP, LINK, RUN, XEQ, LINKEDIT Utility
Manuals HP COBOL II/XL Reference Manual