System Parameters
'EX' Apply Execute Level selector
   
Description The 'EX" system parameter controls which program an EXECUTE directive will modify when passed a string containing a line number which causes a line to be changed. ProvideX has two possible settings, PxPlus has three:
0
(OFF)
Apply change to current program
1
(ON)
Apply change to mainline program
2 Apply change to calling program - a +PxPlus Exclusive

By default ('EX' set to zero or OFF) any lines changed by an EXECUTE will effect the current program. Setting the "EX' parameter to one (or ON) will cause the EXECUTE to effect the mainline program (the program at the top of the program stack).

PxPlus allows this parameter to also be set to 2 which causes the calling program (if any) to be effected. If the 'EX' parameter is set to 2 an no calling program exists (i.e. the current program is the mainline program), the EXECUTE will effect the current program.

   
Default Off or Zero -- changes effect the current program.
   
See Also EXECUTE Directive.