HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 Command Definitions SP-Z

SPLGO

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Compiles, prepares, and executes a compatibility mode SPL/V program. SPL/V is not part of the HP 3000 Series 900 Computer System Fundamental Operating Software and must be purchased separately.

Syntax

SPLGO [textfile] [, [listfile] [, [masterfile] [,newfile]]] [;INFO=quotedstring]

Parameters

textfile

Actual file designator of the input file from which the source program is read. This can be any ASCII input file. The formal file designator is SPLTEXT. Default is $STDIN.

listfile

Actual file designator of the file to which the program listing is written. This can be any ASCII output file. The formal file designator is SPLLIST. Default is $STDLIST.

masterfile

Actual file designator of the master file that is merged against textfile to produce a composite source. This can be any ASCII input file. Formal file designator is SPLMAST. Default is that the master file is not read; input is read from textfile, or from $STDIN if textfile is not specified. If two files being merged have identical line numbers, the lines from textfile or from $STDIN overwrite those in masterfile.

newfile

Actual file designator of the file produced by merging textfile and masterfile. This can be any ASCII output file. The formal file designator is SPLNEW. Default is that no file is written.

NOTE: The formal file designators used in this command (SPLTEXT, SPLLIST, SPLMAST, and SPLNEW) 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.
quotedstring

A sequence of ASCII characters bounded by a pair of single quotation marks (apostrophes) or by double quotation marks. If you want a quotation to appear within quotedstring, the quotation and its quotation marks must also be bounded by quotation marks. For example, to insert "and" into a quotedstring, it must appear as ""and"". Similarly, 'and' must appear as ''and''. The maximum length of the string, including delimiters, is 255 characters.

For SPL to recognize quotedstring, a dollar sign ($) must follow the quotation marks at the beginning of the quotedstring. This feature is used to specify compiler options that appear in front of the source listing.

Operation Notes

This command compiles, prepares, and executes an SPL program. If textfile is omitted, MPE/iX expects input from your standard input device. This command creates a temporary user subprogram library (USL) file ($NEWPASS) that you cannot access and a temporary program file that you can access under the name $OLDPASS.

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, prepare, and execute an SPL program entered from your standard input device, and have the program listing sent to your standard list device, enter:

SPLGO

To compile, prepare, and execute an SPL program read from the disk file SOURCE and send the resulting program listing to the disk file LISTFL, enter:

SPLGO SOURCE,LISTFL

Related Information

Commands

SPL, SPLPREP, PREP, RUN

Manuals

MPE Segmenter Reference Manual

Systems Programming Language Reference Manual

Feedback to webmaster