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.

<strong>TSO</strong>LIB <strong>Command</strong>Operation: (1) Allocate a third data set my.load and specify the ddname aalib tobe associated with it, (2) activate ddname aalib with the <strong>TSO</strong>LIB ACTIVATEcommand, and (3) use the <strong>TSO</strong>LIB DISPLAY command to display the currentlyactive and stacked ddnames.ALLOCATE FILE(aalib) DATASET(my.load)<strong>TSO</strong>LIB ACTIVATE FILE(aalib)<strong>TSO</strong>LIB DISPLAYIDY00022I Search order (by DDNAME) is:IDY00023I DDNAME = AALIBIDY00024I DDNAME = SYS00102 (Stacked)IDY00024I DDNAME = SYS00101 (Stacked)The previously activated ddname SYS00102 is temporarily deactivated and marked(Stacked) in addition to SYS00101. Ddname AALIB is the active library includedahead of the standard search order.Example 7: The use of the <strong>TSO</strong>LIB COND operandOperation: Based on “Example 6: The use of <strong>TSO</strong>LIB library stacking” on page364, try to activate ddname trylib with the COND operand.ALLOCATE FILE(trylib) DATASET(your.load)<strong>TSO</strong>LIB ACTIVATE FILE(trylib) CONDIDY00015I <strong>TSO</strong>LIB terminated. Load library already activeand COND keyword was specified..<strong>TSO</strong>LIB DISPLAYIDY00022I Search order (by DDNAME) is:IDY00023I DDNAME = AALIBIDY00024I DDNAME = SYS00102 (Stacked)IDY00024I DDNAME = SYS00101 (Stacked)The activate request is unsuccessful; the previous activation remains unchanged.Example 8: Reactivate a <strong>TSO</strong>LIB library from the stackOperation: Based on “Example 6: The use of <strong>TSO</strong>LIB library stacking” on page364, (or “Example 7: The use of the <strong>TSO</strong>LIB COND operand”) exclude the currentlyactive library AALIB and activate the last one stacked (SYS00102).<strong>TSO</strong>LIB DEACTIVATE<strong>TSO</strong>LIB DISPLAYIDY00022I Search order (by DDNAME) is:IDY00023I DDNAME = SYS00102IDY00024I DDNAME = SYS00101 (Stacked)Example 9: The use of the <strong>TSO</strong>LIB QUIET operandOperation: (1) Activate a single data set ’aalib.load’, to which the systemassociates a ddname of SYS00100, (2) activate a concatenation of data sets, towhich the system associates a ddname of SYS00101, (3) and invoke a REXX execto show use of the QUIET operand when ISPF is active.The contents of the variables in the ISPF shared pool are then examined. Assumeno previous request has been issued before.READY<strong>TSO</strong>LIB ACTIVATE DATASET(mylib.load)<strong>TSO</strong>LIB ACTIVATE DATASET(’sys3.loadlib1’ ’sys3.testlib’)Invoke the following REXX exec when ISPF is active:Chapter 1. <strong>TSO</strong>/E commands and subcommands 365

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

Saved successfully!

Ooh no, something went wrong!