A SERVICE OF

logo

164 Chapter 3
Command Definitions C-E
COBOLIIPREP
COBOLIIPREP
Compiles and prepares a compatibility mode COBOLII program on the COBOL 74
compiler. COBOLII is not part of the HP 3000 Series 900 Computer System Fundamental
Operating Software and must be purchased separately. The native mode equivalent of this
command is COB74XLK.
For information on the 85 entry point, refer to the COBOL/II 3000 Reference Manual
Syntax
COBOLIIPREP[ textfile]
[ ,] progfile] ,[ listfile] [ ,[ masterfile] [ ,newfile] ] ]
[ ;INFOR=quotedstring] [ ;WKSP=workspacename]
Parameters
textfile Actual file designator of the input file from which the source program is
read. This can be any ASCII input file. Formal file designator is COBTEXT.
Default is $STDIN.
progfile Actual file designator of the program file to which the prepared program
segments are written. If progfile is omitted, the MPE segmenter creates the
program file, which resides in the temporary file domain as $OLDPASS. If
entered, progfile indicates that the file was created in one of two ways:
By specifying a file code of 1029 or PROG, and a numextents value of 1.
This file is then used by the PREP command.
By specifying a nonexistent file in the progfile parameter. A temporary
job file of the correct size and type is created.
listfile Actual file designator of the file to which the program listing is written.
This can be any ASCII output file. Formal file designator is COBLIST.
Default is $STDLIST.
masterfile Actual file designator of the file which is merged against textfile to produce
a composite source. This can be any ASCII input file. Formal file
designator is COBMAST. Default is that the master file is not read; input is
read from textfile, or from $STDIN if textfile is not specified.
newfile Actual file designator of the file created by merging textfile and masterfile.
This can be any ASCII output file. Formal file designator is COBNEW.
Default is that no file is written.
quotedstring A sequence of ASCII characters bounded by a pair of single quotation
marks (apostrophes) or by double quotation marks. You may use the
delimiting character as part of the string so long as it appears twice. Any
occurrence of two single or double quotation marks in a row is considered
part of the string, and, therefore, not the terminating delimiter.