z/OS MVS Installation Exits
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EXEC String Positional Parameters

z/OS MVS Installation Exits
SA23-1381-00

The verb key for an EXEC statement is always X'94'. When executing a procedure, the positional parameters associated with the EXEC statement depend on whether the statement has been coded with the PROC= keyword or not.

  • When no PROC= keyword is used, the text string for the statement contains two positional parameters on the EXEC verb key.
    //STEP1  EXEC PROC1
    1. The statement label (STEP1) is the first parameter on the EXEC verb key.
    2. The PROC name (PROC1) is the second parameter on the EXEC verb key.
Verb Key Number Parameters Label Length Label Proc Length Proc Name
94 02 05 STEP1 05 PROC1
  • When the PROC= keyword is used, the text string contains a verb key for the EXEC statement (X'94') and also a PROC key for the PROC= keyword (X'8B'). The text string for the statement contains one positional parameter on each key.
    //STEP1  EXEC PROC=PROC1
    1. The statement label is the first parameter on the EXEC verb key (X' 94').
    2. The PROC name is the first parameter on the PROC key (X'8B').
Verb Key Number Parameters Label Length Label Proc Key Number Parameters Proc Length Proc Name
94 01 05 STEP1 8B 01 05 PROC1

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014