HP 3000 Manuals

PASXLLK [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

PASXLLK 

Compiles and links an HP Pascal/iX program.  HP Pascal/iX is not part of
the 900 Series HP 3000 Computer System Fundamental Operating Software and
must be purchased separately.  (Native Mode)

Syntax 

PASXLLK [textfile][,[progfile][,[listfile][,libfile]]]

[;INFO=quotedstring]

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 PASTEXT.

                      If you are running HP Pascal/iX 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 in response to the >
                      prompt.  After you enter the source code, type a
                      colon (:)  in response to the > prompt to end the
                      interactive input.

                      The source code to be compiled can be a program or
                      a list of modules.

progfile              The name of the program file on which the
                      MPE/iX linker writes the linked program.  The
                      default is $NEWPASS.

listfile              The name of the file on which the compiler writes
                      the program listing.  It can be any ASCII file.
                      The default is $STDLIST. $STDLIST is usually the
                      terminal if you are running HP Pascal/iX
                      interactively, or the printer if you are running a
                      batch job.  The formal file designator is PASLIST.

                      If your terminal is both textfile and listfile, the
                      compiler does not write the program listing on the
                      terminal.

                      If listfile is $NULL or a file other than $STDLIST,
                      the compiler displays those lines that contain
                      errors on $STDLIST.

libfile               The name of the HP Pascal/iX library file that the
                      compiler searches if a search path is not specified
                      with the compiler option SEARCH. The default is
                      PASLIB in your group and account.

quotedstring          A string of no more than 132 characters (including
                      the single or double quotation marks that enclose
                      it).  The quotedstring is used to pass initial
                      compiler options to the HP Pascal/iX compiler.  HP
                      Pascal/iX brackets the quotedstring with dollar
                      signs ($) and places the string before the first
                      line of source code in the text file.


NOTE The formal file designators used in this command (PASTEXT, PASLIB, and PASLIST) 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.
Operation Notes The PASXLLK command compiles and links an HP Pascal/iX program into a file on disk. If you do not specify textfile, the compiler expects input from the standard input device. If you do not specify listfile, the compiler sends the program listing output to the formal file designator PASLIST (default $STDLIST). The object file created during compilation is a system-defined temporary file, $NEWPASS, which is passed directly to the Link Editor as $OLDPASS. Link Editor overwrites progfile and writes the linked program to $OLDPASS, if progfile is omitted, which can then be executed.
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. It may not be used in BREAK. Pressing Break suspends the execution of this command. Entering the RESUME command continues the execution. Examples The following example compiles and links an HP Pascal/iX program entered through your standard input device and stores the linked program in the file $OLDPASS. The listing will be printed on your standard list device. PASXLLK To compile and link an HP Pascal/iX source program from the source file SOURCE, store it in PROG, and send the listing to your standard list device, enter: PASXLLK SOURCE,PROG Related Information Commands PASCAL, PASCALGO, PASCALPREP, PASXL, PASXLGO, PREP, RUN, LINK, LINKEDIT Manuals HP Pascal/iX Reference Manual (31502-90001) HP Pascal/iX Programmer's Guide (31502-90002) HP Link Editor/XL Reference Manual (32650-90030)


MPE/iX 5.0 Documentation