CCXLGO



CCXLGO

     Compiles, links, and executes an HP C/XL program.  HP C/XL
is not part of the 900 Series HP 3000 computer system
fundamental operating software and must be purchased
separately. This command is recognized only if HP C/XL is
installed on your system.

SYNTAX

     CCXLGO [TEXTFILE][,[LISTFILE]]
[;INFO=QUOTEDSTRING]

NOTE:

THIS COMMAND FOLLOWS THE OPTIONAL MPE/iX COMMAND LINE SYNTAX.

PARAMETERS

TEXTFILE            THE NAME OF THE TEXT FILE THAT CONTAINS THE SOURCE
CODE TO BE COMPILED. THIS IS AN ASCII FILE THAT YOU
PREPARE WITH AN EDITOR SUCH AS EDIT/V. THE FORMAL
FILE DESIGNATOR IS CCTEXT.

IF YOU ARE RUNNING HP C/XL FROM YOUR TERMINAL, YOU
WILL PROBABLY SPECIFY A DISK TEXTFILE. IF YOU DO
NOT SPECIFY TEXTFILE, THEN THE DEFAULT FILE IS
$STDIN. $STDIN IS THE CURRENT INPUT DEVICE, USUALLY
YOUR TERMINAL.

WHEN TEXTFILE IS YOUR TERMINAL, YOU CAN ENTER SOURCE
CODE INTERACTIVELY. WHEN YOU HAVE ENTERED ALL THE
SOURCE CODE, TYPE A COLON (:) TO END INTERACTIVE INPUT.

LISTFILE THE NAME OF THE FILE ON WHICH THE COMPILER WRITES
THE PROGRAM LISTING. IT CAN BE ANY ASCII FILE. THE
DEFAULT IS $STDLIST, WHICH IS USUALLY THE TERMINAL,
IF YOU ARE RUNNING HP C/XL FROM A TERMINAL; IT IS
USUALLY THE PRINTER IF YOU ARE RUNNING A BATCH JOB.
THE FORMAL FILE DESIGNATOR IS CCLIST.

IF LISTFILE IS $NULL OR A FILE OTHER THAN $STDLIST,
THE COMPILER DISPLAYS ON $STDLIST THOSE LINES THAT
CONTAIN ERRORS.

QUOTEDSTRING A PARAMETER FOR THE COMPILER. IT IS A QUOTED STRING
OF NO MORE THAN 1024 CHARACTERS (INCLUDING THE
SINGLE OR DOUBLE QUOTE MARKS THAT ENCLOSE IT).

THE QUOTEDSTRING IS USED TO PASS INITIAL COMPILER
OPTIONS TO THE COMPILER. OPTIONS MUST BE DELIMITED
BY BLANK SPACES.

NOTE

THE FORMAL FILE DESIGNATORS USED IN THIS COMMAND (CCTEXT, CCLIST)
CANNOT BE BACKREFERENCED AS ACTUAL FILE DESIGNATORS IN THE COMMAND
PARAMETER LIST.

OPERATION


THE CCXLGO COMMAND COMPILES, LINKS, AND EXECUTES AN HP C/XL
PROGRAM. IF TEXTFILE IS OMITTED, THE COMPILER EXPECTS INPUT
FROM YOUR STANDARD INPUT DEVICE. IF YOU DO NOT SPECIFY
LISTFILE, THE COMPILER SENDS THE PROGRAM LISTING TO THE
FORMAL FILE DESIGNATOR CCLIST (DEFAULT IS $STDLIST).

THE OBJECT FILE CREATED DURING COMPILATION IS A SYSTEM-
DEFINED TEMPORARY FILE, $NEWPASS, WHICH IS PASSED DIRECTLY
TO THE LINKEDITOR AS $OLDPASS. THE LINKEDITOR PURGES THE
OBJECT FILE AND WRITES THE LINKED PROGRAM TO $OLDPASS, WHICH
IS THEN EXECUTED AND MAY BE EXECUTED REPEATEDLY.

THIS COMMAND MAY BE ISSUED FROM A SESSION, PROGRAM, OR A JOB. IT
MAY NOT BE USED IN BREAK. PRESSING [BREAK] SUSPENDS THE EXECUTION
OF THIS COMMAND. ENTERING RESUME CONTINUES THE EXECUTION.

NOTE

THIS COMMAND IS IMPLEMENTED AS A COMMAND FILE. IF YOU SET THE HPPATH
VARIABLE TO NULL (:SETVAR HPPATH ""), THE COMMAND FILE WILL NOT BE
EXECUTED, AND THE COMMAND WILL FAIL.

EXAMPLE(S)

     TO COMPILE, LINK, AND EXECUTE AN HP C/XL PROGRAM ENTERED
FROM YOUR STANDARD INPUT DEVICE, WITH THE PROGRAM LISTING
SENT TO YOUR STANDARD LIST DEVICE, ENTER

CCXLGO

TO COMPILE, LINK, AND EXECUTE AN HP C/XL PROGRAM FROM THE
DISK FILE SOURCE AND SEND THE PROGRAM LISTING TO THE FILE
LISTFILE, ENTER

CCXLGO SOURCE,LISTFILE

ADDITIONAL INFORMATION

COMMANDS:   CCXL, CCXLLK

MANUALS :   HP C PROGRAMMER'S GUIDE (92434-90002)