EXEC

When you type EXEC on the FLST command column use the following syntax:
Read syntax diagramSkip visual syntax diagram
>>-EXEC--+--------------+--------------------------------------><
         '-/--parameter-'   

EXEC executes the exec, then terminates.

Operands

parameter
specifies the parameters passed to the exec as arguments.

Example

'EXEC / PARMS'

This example, executed on the command column next to TEST3.EXEC, executes exec TEST3.EXEC and passes PARMS as the argument.

Operands

fileid
specifies the file ID of the file the command acts on.
parameter
specifies the parameters passed to the exec as arguments.

Return codes

n
specifies the return code set by the exit of the called exec
0
Normal return
-3
Exec not found
-10
Exec name not specified
-11
Invalid exec name
-12
GETMAIN error
-99
Internal error

Example

'EXEC TEST3 PARMS'

This example executes exec TEST3.EXEC and passes PARMS as the argument.



rvse567.html | Timestamp icon Last updated: Monday, 5 June 2017