2.4.1.47.5 Examples

m_ProgramExec BPRAB006 "08"

Indicates to run program BPRA006 with the parameter "08"

m_ProgramExec -b BDBAB001

Indicates that the program BDBAB001 accesses the Data Base

Note:

To pass a parameter to a program

The <"> (double quote) character is used to mark out the boundaries of the parameters

Examples:

PARM=MT5 on z/OS becomes"MT5" on target

PARM=(MT5,MT6) on z/OS becomes "MT5,MT6" on target

PARM='S=MT5' on z/OS becomes "S=MT5" on target

PARM=('S=MT5','Q=MT6') on z/OS becomes "S=MT5,Q=MT6" on target

Two successive <''> (2 simple quotes) are replaced on one <'> (1 simple quote).

PARM='5 O''CLOCK' becomes "5 O'CLOCK"

Two successive <&&> (2 ampersands) are replaced by one <&> (1 ampersnd) character.

'&&TEMP' becomes "&TEMP"

m_ProgramExec -e BEGIN:EX1 BPRAB006

Indicates to run program BPRA006 after the call of the “exit routine” RTEX-EX1-Begin.

This “exit routine” written by the user may contain user actions (for example concerning “accounting”).