RUN

RUN

This command executes a program ￿le. It permits the searc hing of libraries to satisfy external references. Relocatable libraries (RL) are not searc hed.

Syntax

 

 

 

 

 

 

 

 

 

 

 

RUN prog￿le

2 ;PARM= parameternum 3

 

2

G

=

 

2

 

 

 

 

 

3

< S

 

 

 

 

 

 

;LIB= 8 P

9 3

 

;INFO=" quotedstring"

 

4

: ;

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

<

*formaldesig

=

 

 

 

;STDIN= 28￿leref

 

9 3 3

 

 

4

4

:$NULL

 

;

5 5

 

 

2

;STDLIST= 28

*formaldesig

9 3 3

 

￿leref

,NEW

 

4

 

 

4

<

$NULL 2

 

 

3 =

5 5

 

 

 

 

 

:

 

 

 

 

;

 

 

Parameters

 

 

 

 

 

 

 

 

 

 

 

prog￿le

 

Speci￿es the name of the program ￿le to be executed. This

 

 

 

is the only required parameter. If y ou specify any other

 

 

 

parameters, they o verride the default parameters only for the

 

 

 

current program execution. The prog￿le name may be an HFS

 

 

 

￿lename.

 

 

 

 

 

PARM

 

 

Speci￿es a value, parameternum, that you can pass to the

 

 

 

program as a general parameter for con trol or other purposes.

 

 

 

If you do not specify the parameter, the default v alue is zero

 

 

 

(0).

 

 

 

 

 

 

 

The ;PARM= value is limited to a signed 15-bit decimal or unsigned 16-bit octal or hex v alue, unless you use the implied form of the RUN command. The implied form enables y ou to use any signed 31-bit number. Refer to \Operation Notes" for information about the implied form.

MPE/iX Commands 2-231