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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXEC <strong>Command</strong>No need to add the “clist” suffix because the name already has the appropriatesuffix.Example 4Operation: Name is fully qualified, EXEC or CLIST keyword is not specified.Result:v Fully-qualified name is as specified.v Procedure is run as a REXX exec if the string REXX is found within a commentin line 1 of the procedure. Otherwise, it is run as a CLIST.ex ‘slk27.tools exec(mem3)’runs “mem3” as REXX exec or CLIST depending on what is found in line 1 ofprocedure “mem3”.Using the (extended) implicit form of the EXEC commandWhen using the implicit form of the EXEC command, <strong>TSO</strong>/E finds the REXX execor CLIST as follows.The following table lists the search order of the user-, application-, and system-levellibraries. Also shown are the ddnames associated with each library level. Theseddnames can be allocated either dynamically by the ALLOCATE command orincluded as part of a logon procedure.Table 14. Library search orderSearchorder Library level Associated ddname1. User REXX exec SYSUEXEC2. User CLIST SYSUPROC3. Application REXX exec Define with FILE or DATASET operand4. Application CLIST Define with FILE or DATASET operand5. System REXX exec SYSEXEC (installation can define thisddname)6. System CLIST SYSPROCWith the defaults that <strong>TSO</strong>/E provides, and before an ALTLIB command is invoked,<strong>TSO</strong>/E searches the system EXEC library (default ddname SYSEXEC) first,followed by the system CLIST library (ddname SYSPROC). Note that your systemprogrammer can change this byv Defining an alternate ddname of SYSEXECv Indicating that <strong>TSO</strong>/E is not to search the system-level exec ddname ofSYSEXEC. Then only the system-level CLIST (SYSPROC) is searched.You can alter the default library search order by using either the ALTLIB commandor the EXECUTIL command.v Use EXECUTIL to indicate that the system-level exec ddname is to be searchedfor the duration of the current REXX language processor environment.v Use ALTLIB to indicate that the system-level exec ddname is to be searched forthe duration of the current application. ALTLIB always overrides EXECUTIL withinan application.Use ALTLIB DISPLAY to see which libraries are being searched for.Chapter 1. <strong>TSO</strong>/E commands and subcommands 137

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

Saved successfully!

Ooh no, something went wrong!