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.

Example 3Operation: Obtain all available information about the data sets allocated to you(including the names of temporary data sets).lista members history status sysnamesThe output at your terminal might be similar to the following listing:LISTALC <strong>Command</strong>listalc mem status sysnames history--DSORG--CREATED-----EXPIRES-----SECURITY---DDNAME---DISPMICHELLE.ASMPS 06/06/1991 00/00/0000 WRITE DAUGHTER KEEPNEAL.EXAMPLEPO 07/03/1998 00/00/0000 PROTECTEDMYSON KEEP,KEEP--MEMBERS--MEMBER1MEMBER2SYS70140.T174803.RV000.TS<strong>OS</strong>PEDT.R0000001** 00/00/0000 00/00/0000 NONE SYSUT1 DELETEALLOCATION MUST BE FREED BEFORE RESOURCES CAN BERE-USEDEDTDUMY3SYSINSYSPRINTREADYExample 4Operation: List the names of all your active attribute lists allocated with the ATTRIBcommand.lista statusThe output at your terminal might be similar to the following listing:lista status--DDNAME---DISP--SYS1.LPALIB2STEPLIB KEEPSYS1.UADSSYSUADS KEEPSYS1.BRODCASTSYSLBC KEEPTERMFILE SYSINTERMFILE SYSPRINT*SYS1.HELPSYS00005 KEEP,KEEPD95BAB1.SEPT30.ASMSYS00006 KEEP,KEEPNULLFILE ANULLFILE BREADYExample 5Operation: Excerpt from a job protocol showing the output from the LISTALCcommand with different operands, especially how LISTALC treats the temporarydata sets..//JDC# JOB job card data ...//*// EXEC PGM=IKJEFT01,DYNAMNBR=100,REGION=8M1 //NORBERT1 DD DSN=JDC.NORBERT,DISP=(OLD,KEEP,DELETE)2 //NORBERT2 DD DISP=(NEW,DELETE),SPACE=(TRK,(1,1))3 //NORBERT3 DD DSN=&&DSNAME,DISP=(NEW,DELETE),// SPACE=(TRK,(1,1))Chapter 1. <strong>TSO</strong>/E commands and subcommands 173

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

Saved successfully!

Ooh no, something went wrong!