12.07.2015 Views

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EXECUTIL <strong>Command</strong>TSCL<strong>OS</strong>Ecauses the system exec library, whose default name is SYSEXEC, to beclosed upon completion of the exec. This condition can be changed byissuing the EXECUTIL EXECDD(NOCL<strong>OS</strong>E) command.NOCL<strong>OS</strong>Ecauses the system exec library to remain open upon completion of theexec. This is the default condition and can be changed by issuing theEXECUTIL EXECDD(CL<strong>OS</strong>E) command. The selected option remains ineffect until it is changed by the appropriate EXECUTIL command, or untilthe current environment is terminated.The EXECDD operand affects the ddname specified in the LOADDD field in themodule name table. The default is SYSEXEC. z/<strong>OS</strong> <strong>TSO</strong>/E REXX <strong>Reference</strong>,describes the module name table in detail.Any libraries defined using the ALTLIB command are not affected by theEXECDD operand. SYSPROC is also not affected.Note: Specify EXECDD(CL<strong>OS</strong>E) or EXECDD(NOCL<strong>OS</strong>E) before running anyexecs out of the SYSEXEC file. If you attempt to use EXECDD(CL<strong>OS</strong>E)or EXECDD(NOCL<strong>OS</strong>E) after SYSEXEC has been opened, you mightnot get the desired result because the SYSEXEC file must be closed atthe same MVS task level at which it was opened.Use TS (Trace Start) to start tracing execs. Tracing lets you interactively controlthe execution of an exec and debug problems. For more information about theinteractive debug facility, see z/<strong>OS</strong> <strong>TSO</strong>/E REXX <strong>Reference</strong>.If you issue EXECUTIL TS from READY mode or ISPF, tracing is started for thenext exec you invoke. Tracing is then in effect for that exec and any otherexecs it calls. Tracing stops:v When the original exec completesv If one of the invoked execs specifies EXECUTIL TEv If one of the invoked execs calls a CLIST, which specifies EXECUTIL TEv If you enter attention mode while an exec is executing and issue the TEimmediate command.If you use EXECUTIL TS in an exec, tracing is started for all execs that areexecuting. This includes the current exec that contains EXECUTIL TS, anyexecs it invokes, and any execs that were executing when the current exec wasinvoked. Tracing remains active until all currently executing execs complete oran exec or CLIST contains EXECUTIL TE.For example, suppose exec A calls exec B, which then calls exec C. If exec Bcontains the EXECUTIL TS command, tracing is started for exec B and remainsin effect for both exec C and exec A. Tracing stops when exec A completes.However, if one of the execs contains EXECUTIL TE, tracing stops for all of theexecs.If you use EXECUTIL TS in a CLIST, tracing is started for all execs that areexecuting, that is, for any exec the CLIST invokes or execs that were executingwhen the CLIST was invoked. Tracing stops when the CLIST and all currentlyexecuting execs complete or if an exec or CLIST contains EXECUTIL TE. For144 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>TSO</strong>/E <strong>Command</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!