Stephen Linkin Houston Community College 3/27/2007 © 2002 - Mike Murach & Associates, 2007 - HCC, IBM 1 SMS Facilities For Data Set Allocation.

Slides:



Advertisements
Similar presentations
Stephen Linkin Houston Community College 3/21/2007 © Mike Murach & Associates, HCC, IBM 1 Managing Generation Data Groups.
Advertisements

Stephen Linkin Houston Community College 15-Jan-07 © Mike Murach & Associates, HCC, IBM 1 Use ISPF To Manage JCL Chapter 3.
Stephen Linkin Houston Community College 5-Apr-07 © Mike Murach & Associates, HCC, IBM 1 Using AMS (Access Method Services)
Murach’s C# 2010, C6 © 2010, Mike Murach & Associates, Inc.Slide 1.
Murach’s C# 2010, C3 © 2010, Mike Murach & Associates, Inc.Slide 1.
Murach's C# 2012, C3© 2013, Mike Murach & Associates, Inc.Slide 1.
Murach’s C# 2010, C1© 2010, Mike Murach & Associates, Inc.Slide 1.
© 2013, Mike Murach & Associates, Inc.
Murach’s C# 2010, C4 © 2010, Mike Murach & Associates, Inc.Slide 1.
Murach’s C# 2010, C4 © 2010, Mike Murach & Associates, Inc.Slide 1.
Murach's C , C4 © 2009, Mike Murach & Associates, Inc. Slide 1 © 2009, Mike Murach & Associates, Inc.Slide 1.
Stephen Linkin Houston Community College 28-Mar-07 © Mike Murach & Associates, HCC, IBM 1 JCL For VSAM Data Sets.
Stephen Linkin Houston Community College 14-Feb-07 © Mike Murach & Associates, HCC, IBM 1 Managing SYSOUT Data Sets.
Introduction of z/OS Basics © 2006 IBM Corporation Chapter 5: Working with data sets.
Murach's C# 2012, C7© 2013, Mike Murach & Associates, Inc.Slide 1.
Stephen Linkin Houston Community College 19-Jan-07 © Mike Murach & Associates, HCC, IBM 1 RESTART And Other Program Execution Facilities.
Stephen Linkin Houston Community College January 15, 2007 © Mike Murach & Associates, HCC, IBM 1 Introduction To IBM Mainframe Systems Chapter.
Stephen Linkin Houston Community College 13-Feb-07 © Mike Murach & Associates, HCC, IBM 1 Managing Tape Data Sets Chapter # 7.
Stephen Linkin Houston Community College 1/31/07 © Mike Murach & Associates, HCC, IBM 1 Using JCL and JES To Manage Program Execution Chapter.
Stephen Linkin Houston Community College 5-Feb-07 © Mike Murach & Associates, HCC, IBM 1 Using JCL Facilities To Allocate Other DASD Data.
10/16/ ER/CORP/CRS/OS02/003-4 JCL DAY 4. 10/16/ ER/CORP/CRS/OS02/003-4 VSAM DATASETS (virtual storage access method) These are the logical.
Stephen Linkin Houston Community College 21-Feb-07 © Mike Murach & Associates, HCC, IBM 1 Using JCL Procedures.
Stephen Linkin Houston Community College 26-Feb-07 © Mike Murach & Associates, HCC, IBM 1 How To Process Jobs Conditionally.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 4: Working with data sets.
MVS (Day 2). Copyright © 2005, Infosys Technologies Ltd 2 ER/CORP/CRS/OS01/003 Version No: 1.0 Agenda Data Management –Definition of data set and Record.
10/26/ ER/CORP/CRS/OS02/003-3 JCL DAY 3. 10/26/ ER/CORP/CRS/OS02/003-3 PROCEDURES It is a prepacked JCL. JCL needed by many different users.
JCL Day 2. 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/OS02/003 Version No: 1.0 Agenda for Day 2  DD statement  Syntax  Parameters  Procedures.
JCL Day 3. 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/OS02/003 Version No: 1.0 Agenda for Day 3  VSAM data sets  Definition & Types 
Murach’s Oracle SQL and PL/SQL, C16© 2014, Mike Murach & Associates, Inc.Slide 1 Thursday, March 12, 12:30 – 13:30PM. MIDTERM.
1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin.
1 Working With Data Sets Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 6: Using Job Control Language (JCL) and System Display and.
© 2009, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2014, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2013, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
Presentation transcript:

Stephen Linkin Houston Community College 3/27/2007 © Mike Murach & Associates, HCC, IBM 1 SMS Facilities For Data Set Allocation

3/27/2007 © Mike Murach & Associates, HCC, IBM2 Objectives Knowledge objectives Describe how SMS manages file creation. Distinguish between the DD parameters only for SMS- managed data sets and those for non-SMS data sets while as SMS is active on the system. Describe the functions of class. List advantages a PDSE has over a PDS Name the DD parameter used to create a PDSE. Distinguish between the REFDD parameter and the LIKE parameter.

3/27/2007 © Mike Murach & Associates, HCC, IBM3 Objectives Applied objectives Code DD parameters to create an SMS-managed data set by: a. A ssigning specific storage, data, and management classes to the data set b. L etting the ACS routines assign classes to the data set Code DD parameters to perform these functions if SMS is active on the system: a. A llocate the space for a new data set in terms of records b. M odel a new data set after an existing data set

3/27/2007 © Mike Murach & Associates, HCC, IBM4 Coding for SMS How SMS manages creation of a new data set The complete DD statement for a data set This illustrates SMS parameters in the DD statement Parameters for SMS-managed data sets Parameters used for non-SMS data sets or SMS data sets //TRANS DD DSNAME=MM01.AR.TRANS,DISP=(NEW,CATLG) STORCLASSpecifies the storage class for a data set. DATACLASSpecifies the data class for a data set. MGMTCLASSpecifies the management class for a data set. DSNTYPEAllows you to specify the type of data set being created. AVGRECSpecifies (1) the space allocation is based on record size and (2) number of records used per extent. LIKECopies data set characteristics from a specified data set. REFDDRefers back to a DD statement to copy characteristics.

3/27/2007 © Mike Murach & Associates, HCC, IBM5 SMS Code Samples To create an SMS-managed data set A DD statement that lets ACS routines choose the classes A DD statement that specifies the data class To create a data set not managed by SMS //TRANS DD DSNAME=MM01.AR.TRANS,DISP=(NEW,CATLG) //TRANS DD DSNAME=MM01.AR.TRANS,DISP=(NEW,CATLG), // DATACLAS=TRAN2 //TRANS DD DSNAME=MM01.AR.TRANS, // DISP=(NEW,CATLG), // UNIT=SYSDA,VOL=SER=MPS8BV, // SPACE=(1000,(5,3), // RLSE),AVGREC=U, // DCB=(RECFM=FB,LRECL=120)

3/27/2007 © Mike Murach & Associates, HCC, IBM6 Storage Class The syntax for STORCLAS parameter A DD statement setting storage class to MVPS100 STORCLAS=storage-class-name //TRANX DD DSNAME=MM01.TRANS.NEW, // DISP=(NEW,CATLG), // STORCLAS=MVPS100

3/27/2007 © Mike Murach & Associates, HCC, IBM7 Storage Class Examples The syntax for the DATACLAS parameter A DD statement that sets the data class to MVPD050 A DD statement that overrides the SPACE and LRECL parameters of the data class DATACLAS=data-class-name //TRANX DD DSNAME=MM01.TRANS.NEW,DISP=(NEW,CATLG), // DATACLAS=MVPD050 //TRANX DD DSNAME=MM01.TRANS.NEW,DISP=(NEW,CATLG), // DATACLAS=MVPD050,SPACE=(TRK(1,1)), // LRECL=1000

3/27/2007 © Mike Murach & Associates, HCC, IBM8 Management Class Examples The syntax for the MGMTCLAS parameter This DD statement sets class to MVPM010 MGMTCLAS=management-class-name //TRANX DD DSNAME=MM01.TRANS.NEW, // DISP=(NEW,CATLG), // MGMTCLAS= MVPM010

3/27/2007 © Mike Murach & Associates, HCC, IBM9 Additional Parameters The syntax for the DSNTYPE parameter A DD statement creating a PDSE DSNTYPE= {LIBRARY} {PDS} //TRANERR DD DSNAME=MM01.LIB.ERR(TRANERR), // DISP=(NEW,CATLG), // DSNTYPE=LIBRARY

3/27/2007 © Mike Murach & Associates, HCC, IBM10 Additional Parameters (2) The syntax for the AVGREC parameter A DD statement that uses the AVGREC parameter {U} AVGREC= {K} {M} //TRANS DD DSNAME=MM01.AR.TRANS,DISP=(NEW,CATLG), // UNIT=SYSDA,VOL=SER=MPS8BV, // SPACE=(120,(5,3)),AVGREC=K

3/27/2007 © Mike Murach & Associates, HCC, IBM11 Additional Parameters (3) The syntax for the REFDD and LIKE parameters Using the REFDD parameter to model a new data set after one defined earlier Using the LIKE parameter to model a new data set after a cataloged data set REFDD=*.stepname.ddnameLIKE=model-dataset-name //STEP1 EXEC PGM=TRNSPR1 //ARTRANS DD DSNAME=MM01.AR.TRANX,DISP=(NEW,CATLG), // UNIT=SYSDA,VOL=SER=MPS8BV, // SPACE=(TRK,(5,3),RLSE), // DCB=(RECFM=FB,LRECL=120) //STEP2 EXEC PGM=TRNSPR2 //ROTRANS DD DSNAME=MM01.RO.TRANX,DISP=(NEW,CATLG), // UNIT=SYSDA,REFDD=*.STEP1.ARTRANS Model data set //STEP1 EXEC PGM=TRNSPR1 //TRANS DD DSNAME=MM01.AP.TRANS,DISP=(NEW,CATLG), // UNIT=SYSDA,LIKE=MM01.AR.TRANS, // SPACE=(TRK,(1,1))

3/27/2007 © Mike Murach & Associates, HCC, IBM12 End Presentation