Stephen Linkin Houston Community College 13-Feb-07 © 2002 - Mike Murach & Associates, 2006 - HCC, IBM 1 Managing Tape Data Sets Chapter # 7.

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 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 3/27/2007 © Mike Murach & Associates, HCC, IBM 1 SMS Facilities For Data Set Allocation.
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.
Life after the conversion. Now that the conversion is complete, there is no reason to put Copycat on the shelf. VTS clean up If you find yourself running.
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 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.
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.
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.
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.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2004, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
JCL Standards #3 Company Name
© 2010, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2002, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2000, Mike Murach & Associates, Inc.
Presentation transcript:

Stephen Linkin Houston Community College 13-Feb-07 © Mike Murach & Associates, HCC, IBM 1 Managing Tape Data Sets Chapter # 7

2 Objectives Applied objective Code the JCL necessary to allocate a tape data set using: a.one or two units b.one or more specific or non-specific volumes c.whatever form of label processing is appropriate

3 Objectives Knowledge objectives List the reasons tape data sets are used in mainframe shops. Distinguish between tape cartridges and tape reels. Describe the standard labels used for tape data sets. List other types of tape label processing. Explain why tape data may need to be converted between EBCDIC and ASCII format. Distinguish between tape multi-volume files and multi-file volumes. Describe the use of the RETPD or EXPDT parameter in a DD statement for a tape data set. Describe the purpose of the LABEL parameter in a DD statement for a tape data set.

4 A Typical File Backup Process

5 The Labels On A Single File Tape Volume The Labels For A File That Requires Four Volumes The Labels For A Volume That Contains Two Files Standard Label Layouts

6 Syntax Of A DD Statement For A Tape Data Set //ddname DD DSNAME=data-set-name, DISP=(status,normal-disp,abnormal-disp) [,UNIT=(subparameters) ] [,VOL=(subparameters) ] [,RETPD=nnnn | EXPDT=date ] [,LABEL=(subparameters) ] [,DCB=(options) ] Simple DD statements for tape The allocation of an existing cataloged data set //JOURNAL DD DSNAME=MMA2.AR.JOURNAL,DISP=OLD The allocation of an existing uncataloged data set //JOURNAL DD DSNAME=MMA2.AR.JOURNAL,DISP=OLD, UNIT=TAPE,VOL=SER= The allocation of an existing, uncataloged multi-volume data set //JOURNAL DD DSNAME=MMA2.AR.JOURNAL,DISP=OLD, UNIT=TAPE, VOL=SER=(300123,300124,300125,300126) The allocation of a new data set on an unspecified tape volume //JOURNAL DD DSNAME=MMA2.AR.JOURNAL,DISP=(NEW,CATLG,DELETE), UNIT=TAPE

© Mike Murach & Associates, HCC, IBM7 Parameter Syntax (UNIT=) {UNIT=(unit[,count][,DEFER]) {UNIT=AFF=ddname} Examples of UNIT parameters A request for two tape drives UNIT=(TAPE,2) A request that defers the mounting of the tape UNIT=(TAPE,,DEFER) A request for the same tape drive used by TAPEDD1 UNIT=AFF=TAPEDD1

© Mike Murach & Associates, HCC, IBM8 Parameter Syntax (VOL=) VOL=([PRIVATE][,RETAIN][,volume-sequence][,volume-count] [,SER=(serial,serial,...)]) Examples of VOLUME parameters Request for four named volumes VOL=SER=(163013,163014,163015,163016) Non-specific request for up to 20 volumes VOL=(,,,20) Request the third volume of a multi-volume data set VOL=(,,3) Specific request for two private volumes VOL=(PRIVATE,SER=(MMA301,MMA302)) Specific request for a private volume that shouldn’t be dismounted VOL=(PRIVATE,RETAIN,SER=MMA400)

© Mike Murach & Associates, HCC, IBM9 Parameter Syntax (RETPD=) RETPD=nnnn Example of a RETPD parameter //LNMAST DD DSNAME=MMA2.LN.MASTER,DISP=(NEW,KEEP), // UNIT=TAPE,VOL=SER=300123,RETPD=30

© Mike Murach & Associates, HCC, IBM10 Parameter Syntax (EXPDT=) EXPDT= {yyyy/ddd} Example of an EXPDT parameter //JOURNAL DD DSNAME=MMA2.AR.JOURNAL, // DISP=(NEW,CATLG,DELETE) // UNIT=TAPE,EXPDT=2007/180

© Mike Murach & Associates, HCC, IBM11 Parameter Syntax (LABEL=) CodeMeaning SLStandard IBM labels (the default). SULStandard IBM labels as well as user labels. ALISO/ANSI/FIPS version 3 labels. AULISO/ANSI/FIPS version 3 labels and user labels. CodeMeaning NSLNon-standard labels. NLNo labels. BLPMay or may not have labels, but label processing is bypassed. LTMSame as BLP, except that the leading tapemark on the volume is skipped. LABEL=([data-set-sequence][,label-type]) Example of a LABEL parameter //JOURNAL DD DSNAME=MMA2.AR.JOURNAL,DISP=OLD // UNIT=TAPE,VOL=SER=300127,LABEL=3.

© Mike Murach & Associates, HCC, IBM12 Examples Of LABEL Parameters IBM Standard Labels With User Labels LABEL=(,SUL) Processing Of The Fourth Data Set And ISO/ANSI/FIPS Standard Labels LABEL=(4,AL) Label Processing Is Bypassed And The Second Data Set (The First Set Of Data Records On A Tape With Standard Labels) Be Processed LABEL=(2,BLP) The Tape Volume Is Unlabelled LABEL=(,NL)

© Mike Murach & Associates, HCC, IBM13 Parameter Syntax (DCB=) DCB=([DSORG=PS][,RECFM=x][,LRECL=n][,BLKSIZE=n] [,OPTCD=Q] [,DEN=n] [,TRTCH={COMP}{NOCOMP}] Examples of DCB parameters Data set to be written in ASCII format DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=4000,OPTCD=Q) Data set written with 1600 bpi on a dual-density tape drive DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=4000,DEN=3) Data set to be written with compaction on a cartridge tape drive DCB=(DSORG=PS,RECFM=FB,LRECL=80, BLKSIZE=4000,TRTCH=COMP)

© Mike Murach & Associates, HCC, IBM14 End Presentation