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.

EXEC <strong>Command</strong>v The fully-qualified name is prefixed by the PREFIX and is suffixed by “exec” or“clist”, unless the non-fully-qualified name already has the appropriate suffix.v Procedure is run as the keyword specifies.ex tools(mem1) execruns REXX exec “mem1” from: ‘slk27.tools.exec(mem1)’.ex tools(mem2) clistruns CLIST “mem2” from: ‘slk27.tools.clist(mem2)’.ex tools.exec(mem1) execruns REXX exec “mem1” from: ‘slk27.tools.exec(mem1)’.No need to add the “exec” suffix because the name already has the appropriatesuffix.ex tools.clist(mem2) clistruns CLIST “mem2” from: ‘slk27.tools.clist(mem2)’.No need to add the “clist” suffix because the name already has the appropriatesuffix.Example 2Operation: Name is fully qualified, EXEC or CLIST keyword is specified.Result:v Fully-qualified name is as specifiedv Procedure is run as the keyword specifies.ex ‘sk127.tools.exec(mem1)’ execruns REXX exec “mem1” from: ‘slk27.tools.exec(mem1)’ex ‘sk127.tools.clist(mem2)’ clistruns CLIST “mem2” from: ‘slk27.tools.clist(mem2)’.Example 3Operation: Name is not fully qualified, EXEC or CLIST keyword is not specified.Result:v Fully-qualified name is prefixed by the PREFIX, and is suffixed by “clist”, unlessthe non-fully-qualified name already has the appropriate suffix.v Procedure is run as a REXX exec if the REXX string is found within a commentin line 1 of the procedure. Otherwise, it is run as a CLIST.ex tools(mem3)runs “mem3” as REXX exec or CLIST depending on what is found in line 1 ofprocedure “mem3”. Whether “mem3” is run as a REXX exec or a CLIST, it is readfrom: ‘slk27.tools.clist(mem3)’.ex tools.clist(mem3)runs “mem3” as REXX exec or CLIST depending on what is found in line 1 ofprocedure “mem3”. Whether “mem3” is run as a REXX exec or a CLIST, it is readfrom: ‘slk27.tools.clist(mem3)’.136 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!