Z/OS DFSMS Using Data Sets How to Send Your Comments to IBM

Total Page:16

File Type:pdf, Size:1020Kb

Z/OS DFSMS Using Data Sets How to Send Your Comments to IBM z/OS 2.4 DFSMS Using Data Sets IBM SC23-6855-40 Note Before using this information and the product it supports, read the information in “Notices” on page 591. This edition applies to Version 2 Release 4 of z/OS (5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions. Last updated: 2021-04-06 © Copyright International Business Machines Corporation 1987, 2021. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures............................................................................................................... xix Tables................................................................................................................xxv About this document......................................................................................... xxix Major divisions of this document.............................................................................................................xxix Required product knowledge.................................................................................................................. xxix Referenced documents............................................................................................................................ xxx z/OS information.......................................................................................................................................xxx How to send your comments to IBM................................................................... xxxi If you have a technical problem.............................................................................................................. xxxi Summary of changes....................................................................................... xxxiii Summary of changes for z/OS Version 2 Release 4..............................................................................xxxiii Summary of changes for z/OS V2R3..................................................................................................... xxxiv Summary of changes for z/OS V2R2..................................................................................................... xxxiv Part 1. All data sets............................................................................................... 1 Chapter 1. Working with data sets...............................................................................................................3 Data storage and management..............................................................................................................3 System-managed data sets.............................................................................................................. 4 Distributed FileManager....................................................................................................................4 Access methods..................................................................................................................................... 4 Basic Direct Access Method............................................................................................................. 4 Basic Partitioned Access Method..................................................................................................... 4 Basic Sequential Access Method......................................................................................................5 Data-in-Virtual (DIV)......................................................................................................................... 5 Indexed Sequential Access Method.................................................................................................5 Object Access Method...................................................................................................................... 6 Queued Sequential Access Method..................................................................................................6 Virtual storage access method......................................................................................................... 6 Access to z/OS UNIX files................................................................................................................. 7 Selection of an access method.........................................................................................................8 Direct Access Storage Device (DASD) volumes..................................................................................... 8 DASD labels.......................................................................................................................................8 Track format...................................................................................................................................... 8 Track overflow...................................................................................................................................9 VSAM record addressing...................................................................................................................9 Actual and relative addressing with non-VSAM access methods................................................. 10 Magnetic tape volumes........................................................................................................................ 11 Using magnetic tape labels............................................................................................................ 11 Specifying the file sequence number.............................................................................................11 Identifying unlabeled tapes............................................................................................................13 Using tape marks............................................................................................................................ 14 Data management macros...................................................................................................................14 Data set processing..............................................................................................................................15 Allocating data sets........................................................................................................................ 15 iii Processing data sets through programs.........................................................................................16 Using access methods.................................................................................................................... 16 Using addressing modes.................................................................................................................16 Using hiperspace and hiperspace.................................................................................................. 17 Processing VSAM data sets............................................................................................................ 17 Processing PDSs, PDSEs, and UNIX directories.............................................................................18 Processing sequential data sets and members of PDSEs and PDSs.............................................18 Processing UNIX files with an access method...............................................................................19 Processing EXCP, EXCPVR, and XDAP macros...............................................................................20 Processing data sets on read-only devices....................................................................................20 Distributed Data Management (DDM) attributes.................................................................................23 Virtual I/O for temporary data sets......................................................................................................23 Data set names.....................................................................................................................................24 Catalogs and volume table of contents............................................................................................... 25 VTOC................................................................................................................................................25 Catalogs...........................................................................................................................................25 Data set names and metadata....................................................................................................... 25 Security of data set names............................................................................................................. 26 Chapter 2. Using the Storage Management Subsystem........................................................................... 27 Using automatic class selection routines............................................................................................ 28 Allocating data sets..............................................................................................................................29 Allocating data sets with JCL..........................................................................................................30 Allocating system-managed data sets with the Access Method Services ALLOCATE command..................................................................................................................................
Recommended publications
  • IBM Systems, Consult the Latest IBM System/370, 30Xx, and 4300 Processors Bibliography, GC20-0001, for the Editions That Are Applicable and Current
    ---- MVS/Extended Architecture Licensed --------- --- ---,--------- --- Data Facility Product: Program ( Planning Guide c- Order Number Data Facility Product Version 1 GC26-4040-3 5665-284 Release 1.2 o I~ourth Edition (.January 1987) This is a major revision of, and makes obsolete, GC26-4040-2. This edition applies to Version I Release 1.2 of MVSiExtended Architecture Data Facility Product, Licensed Program 5665-284, and to ariy subsequent releases until otherwise indicated in new editions or technical newsletters. The changes for this edition are summarized under "Summary of Changes" following the preface. Specific changes are indicated by' a vertical bar to the left of the change. These bars will be deleted at any subsequent republication of the page affected. Editorial changes that have no technical significance are not noted. Changes are made periodically to this publication; before using this publication in connection with the operation of IBM systems, consult the latest IBM System/370, 30xx, and 4300 Processors Bibliography, GC20-0001, for the editions that are applicable and current. References in this publication to IBM products, programs, or services do not imply that IBM intends to make these available in all countries in which IHM operates. Any reference to an IBM licensed program in this publication is not intended .to state or imply that only IHM's program may be used. Any functionally equivalent program may be used instead. Requests for IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. If you request publications from the address given below, your order will be delayed because publications are not stocked there.
    [Show full text]
  • Abcs of IBM Z/OS System Programming Volume 3
    Front cover ABCs of IBM z/OS System Programming Volume 3 Jose Gilberto Biondo Jr. Redbooks International Technical Support Organization ABCs of IBM z/OS System Programming Volume 3 January 2018 SG24-6983-04 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. Fifth Edition (January 2018) This edition applies to version 2 release 3 of IBM z/OS (product number 5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions. © Copyright International Business Machines Corporation 2004, 2018. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . .x Preface . xi The team who wrote this book . xi Now you can become a published author, too! . xii Comments welcome. xii Stay connected to IBM Redbooks . xiii Chapter 1. DFSMS introduction . 1 1.1 Introduction to DFSMS . 2 1.1.1 DFSMS components. 2 1.2 DFSMSdfp base element . 3 1.2.1 Managing storage . 3 1.3 DFSMSdss optional feature . 5 1.4 DFSMSrmm optional feature. 5 1.4.1 Library management . 5 1.4.2 Shelf management . 6 1.4.3 Volume management . 6 1.4.4 Data set management. 6 1.5 DFSMShsm optional feature . 6 1.5.1 Storage and space management . 6 1.5.2 Tape mount management. 7 1.5.3 Availability management . 7 1.6 DFSMStvs optional feature . 7 1.6.1 VSAM record-level sharing . 7 1.6.2 Recoverable resource management services.
    [Show full text]
  • Filesystems HOWTO Filesystems HOWTO Table of Contents Filesystems HOWTO
    Filesystems HOWTO Filesystems HOWTO Table of Contents Filesystems HOWTO..........................................................................................................................................1 Martin Hinner < [email protected]>, http://martin.hinner.info............................................................1 1. Introduction..........................................................................................................................................1 2. Volumes...............................................................................................................................................1 3. DOS FAT 12/16/32, VFAT.................................................................................................................2 4. High Performance FileSystem (HPFS)................................................................................................2 5. New Technology FileSystem (NTFS).................................................................................................2 6. Extended filesystems (Ext, Ext2, Ext3)...............................................................................................2 7. Macintosh Hierarchical Filesystem − HFS..........................................................................................3 8. ISO 9660 − CD−ROM filesystem.......................................................................................................3 9. Other filesystems.................................................................................................................................3
    [Show full text]
  • IBM Mainframe Utility Programs ­ Wikipedia, the Free Encyclopedia IBM Mainframe Utility Programs from Wikipedia, the Free Encyclopedia
    9/11/2015 IBM mainframe utility programs ­ Wikipedia, the free encyclopedia IBM mainframe utility programs From Wikipedia, the free encyclopedia IBM mainframe utility programs are Utility software supplied with IBM mainframe operating systems such as MVS to carry out various tasks associated with datasets, etc. The following list describes utilities distributed with OS/360 and successors. No VSE or VM utilities are included. Contents 1 History/Common JCL 2 Dataset utilities 2.1 IDCAMS 2.2 IEBCOMPR 2.3 IEBCOPY 2.4 IEBDG 2.5 IEBEDIT 2.6 IEBGENER 2.7 IEBIMAGE 2.8 IEBISAM 2.9 IEBPTPCH 2.10 IEBUPDTE 3 Scheduler utilities 3.1 IEFBR14 4 System utilities 4.1 ICKDSF 4.2 IEHDASDR 4.3 IEHINITT 4.4 IEHLIST 4.5 IEHMOVE 4.6 IEHPROGM 5 Supporting programs 5.1 SORT 5.2 Compilers/Linker 5.3 DFSMS 6 References 7 See also 8 External links History/Common JCL Many of these utilities were designed by IBM users, through the group SHARE, and then modified or extended by IBM from versions originally written by a user. https://en.wikipedia.org/wiki/IBM_mainframe_utility_programs 1/14 9/11/2015 IBM mainframe utility programs ­ Wikipedia, the free encyclopedia These utilities are usually invoked via Job Control Language (JCL). They tend to use common JCL DD identifiers for their data sets: DDNAME Usual function input file for the 'commands' for the utility. Often set to DUMMY if the default action is SYSIN desired SYSUT1 input file SYSUT2 output file SYSUT3 work (spill) file for input (SYSUT1) (often not used) SYSUT4 work (spill) file for output (SYSUT2) (often not used) SYSPRINT output file for printed output from the utility SYSOUT output file for messages from the utility SYSUDUMP output file for a system 'dump' if the program fails Dataset utilities IDCAMS IDCAMS ("Access Method Services") generates and modifies Virtual Storage Access Method (VSAM) and Non­VSAM datasets.
    [Show full text]
  • 24 File System
    24 File System Directories, Links, FS Implementation February 4 2009 Winter Term 2008/09 Gerd Liefländer Recommended Reading Bacon, J.: Operating Systems (5) Silberschatz, A.: Operating System Concepts (10,11) Stallings, W.: Operating Systems (12) Tanenbaum, A.: Modern Operating Systems (6) Nehmer, J.: Systemsoftware (9) Solomon, D.A.: Inside Windows NT, 1998 … Distributed File-Systems related Papers Summary on some commodity OSes http://www.wsfprojekt.de/index.html © 2009 Universität Karlsruhe (TH), System Architecture Group 2 Overview Roadmap for Today Directories Pathname Link, Shortcut, Alias File Sharing Access Rights we focus on Unix/Linux Implementation of a FS Files Directories Shared Files Protected Files Storage Management Disk Space Management Study of your own and apply concepts of RAM-Management Block Size FS Reliability not in this course FS Performance © 2009 Universität Karlsruhe (TH), System Architecture Group 3 Directories Disk Structure Disk can be subdivided into partitions 1 Disks, partitions can be RAID protected against failure Disk or partition can be used raw – without a file system, or formatted with a file system (FS) Entity containing a FS known as a volume Each volume containing a FS also tracks that FS’s info in device directory or volume table of contents As well as general-purpose FSs there are many special- purpose FSs, frequently all within the same operating system or computer 1Partitions also known as minidisks, slices 5 © 2009 Universität Karlsruhe (TH) System Architecture
    [Show full text]
  • Computer Labs for the Introduction to the New Mainframe: Z/OS Basics
    Computer Labs for the Introduction to the New Mainframe: z/OS Basics course Instructor Version The following labs are from the Introduction to the New Mainframe: z/OS Basics course/Redbook. These labs have been run and tested using the computer hub at Marist College in Poughkeepise, NY. You may need to adjust these labs to run on a computer system other than the one at Marist College. Chapter 2 Exercises (Section 2.16) ........................................................................................ 4 To display the CPU configuration ...................................................................................... 4 To display the page data set usage ..................................................................................... 4 To display information about the current Initial Program Load (IPL) ............................... 4 Instructor Notes .................................................................................................................. 4 Chapter 4 Exercises (Section 4.7) .......................................................................................... 5 4.7.1 Logging on to z/OS and entering TSO commands ................................................... 5 4.7.2 Navigating through the ISPF menu options .............................................................. 5 4.7.3 Using the ISPF editor ................................................................................................ 6 4.7.4 Using SDSF ..............................................................................................................
    [Show full text]
  • Introduction to DOS Logic
    File Number 8360-36 Order No. GY24-50l7-l2 Introduction to DOS Logic Program Number 360N-CL-4S3 This reference publication gives an overall view of the Disk Operating System (008), and it briefly describes the associated control and service programs. It is intended for persons who are involved in program maintenance and for system programmers who are altering the program design. Program logic information is not needed for normal use or operation of the system control program. This manual is designed to introduce and to cross-reference the six companion PLMs of the Disk Operating System. These associated PLMs are listed in the Preface of this manual. For titles and abstracts of other associated publications, see the IBM System/360 and System/370 Bibliography, GA22-6822. DOS Release 26 I Thirteenth Edition (October 1971) This publication was formerly titled IBM System/360 Disk Operating System: Introduction to System Control Programs. Although titles of some DOS publications (including this one) have been simplified, the change does not affect the contents of the publications. This edition applies to Release 26 of the IBM Disk Operating System and to all subsequent releases until otherwise indicated in new editions or Technical Newsletters. Changes are continually made to the specifications herein; before . using this publication in connection with the operation of IBM systems, consult the latest System/360 and System/370 SRL Newsletter, GN20-0360, for the editions that are applicable and current. This edition is a major revision of, and obsoletes, GY24-5017-11. Summary of Amendments This edition provides documentation changes for: • Enhancements to OLTEP • Enhancements to PDAID • New problem determination commands ALTER, DSPLY, and DUMP • Maintenance and technical corrections Changes or additions to the text and illustrations are indicated by a vertical line to the left of the change.
    [Show full text]
  • Pc-Based Partitions
    Carrier_05.qxd 2/22/05 3:07 PM Page 81 PC-based5 Partitions The last chapter provided an overview of volume analysis and why it’s important. Now we’re going to leave the abstract discussion of volumes and dive into the details of the partition systems used in personal computers. In this chapter, we will look at DOS parti- tions, Apple partitions, and removable media. For each system, we review how it works and look at its data structure. If you are not interested in the data structure details, you can skip those sections. This chapter also covers special considerations that should be made when analyzing these systems. The next chapter will examine server-based partitioning systems. DOS PARTITIONS The most commonly encountered partition system is the DOS-style partition. DOS partitions have been used with Intel IA32 hardware (i.e., i386 / x86) for many years, yet there is no official specification. There are many Microsoft and non-Microsoft documents that discuss the partitions, but there is no standard reference. In addition to there being no standard reference, there is also no standard name. Microsoft now calls disks using this type of partition system Master Boot Record (MBR) disks. This is in comparison to a GUID Partition Table (GPT) disk that is used with the Extensible Firmware Interface (EFI) and the 64-bit Intel Itanium-based systems (IA64), which are discussed in the next chapter[Microsoft 2004a]. Starting with Windows 2000, Microsoft also differentiates between basic and dynamic disks. A basic disk refers to 81 Carrier_05.qxd 2/22/05 3:07 PM Page 82 CHAPTER 5 PC-BASED PARTITIONS either an MBR or a GPT disk, and the partitions in the disk are independent and stand- alone.
    [Show full text]
  • Systems OS/VS Virtual Storage Access Method (VSAM) Planning Guide
    GC26-3799-0 OS/VS Virtual Storage Access Method (VSAM) Systems Planning Guide First Edition (July 1972) This edition applies to release 2 of OS/VS1, to release 1 of OS/VS2, and to all subsequent releases until otherwise indicated in new editions or technical newsletters. Changes may be made to the information in this publication at any time; before using this publication in connection with the operation of IBM systems, consult the System/360 and System/370 Bibliography~ GA22-6822, and the latest System/360 and System/3 70 SRL Newsletter~ GN20-0360, for the editions that are applicable and current. Requests for copies of IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. Forms for readers' comments are provided at the back of this publication. If the forms have been removed, comments may be addressed to IBM Corporation, Programming Publications, Department D78, Monterey and Cottle Roads, San Jose, California 95114. Comments become the property of IBM. © Copyright International Business Machines Corporation 1972 USING THIS PUBLICATION This publication is intended to enable prospective users of VSAM (virtual storage access method), an access method of OS/VS (operating system/virtual storage), to prepare for using VSAM. The intended audience is data-processing managers whose decisions will influence the use of VSAM, system and application programmers who will make detailed preparations, and others seeking an introduction to VSAM. This planning guide has six chapters: "Introducing VSAM" outlines how VSAM meets the requirements of an access method in today's data-processing environment.
    [Show full text]
  • DFSMS Basics: Data Set Fundamentals Get to Know Your Data Sets!
    DFSMS Basics: Data Set Fundamentals Get to Know Your Data Sets! Neal Bohling and Tom Reed DFSMS Defect Support @ IBM August 7, 2014 Session Number 16119 What'sWhat's youryour experienceexperience level?level? IBM 7094 1965 ~500KHz Background To fully understand z/OS Data Sets, let's look at how data is stored Tape Disk (Sequential) (Direct) DASD Structure ModernModern Devices Devices are are Modeled Modeled after after this this architecture: architecture: 1 1 Track Track = = 56664 56664 Bytes Bytes 1 1 Cylinder Cylinder = = 15 15 Tracks Tracks Data Sets • Volumes provide a stream of data. 1100100111000010110101001100100111100010111000111100100011000101110000101100010111100010111000111100001111010110110101001 1010111111001001110001111001001110101011100011111000011110101101101010011010111110000011101010111101000110010011100001011 0101001100100111100010111000111100100011000101110000101100010111100010111000111100001111010110110101001101011111100100111 0001111001001110101011100011111000011110101101101010011010111110000011101010111101000110010011100001011010100110010011110 0010111000111100100011000101110000101100010111100010111000111100001111010110110101001101011111100100111000111100100111010 1011100011111000011110101101101010011010111110000011101010111101000110010011100001011010100110010011110001011100011110010 0011000101110000101100010111100010111000111100001111010110110101001101011111100100111000111100100111010101110001111100001 1110101101101010011010111110000011101010111101000110010011100001011010100110010011110001011100011110010001100010111000010
    [Show full text]
  • Aligning Partitions to Maximize Storage Performance
    An Oracle Technical White Paper November 2012 Aligning Partitions to Maximize Storage Performance Aligning Partitions to Maximize Storage Performance Table of Contents Introduction ......................................................................................... 4 Preparing to Use a Hard Disk ............................................................. 6 How Disks Work.............................................................................. 6 Disk Addressing Methods ............................................................... 7 Hard Disk Interfaces ....................................................................... 7 Advanced Technology Attachment (ATA) ..............................................8 Serial ATA (SATA)..................................................................................8 Small Computer System Interface (SCSI) ..............................................8 Serial Attached SCSI (SAS) ...................................................................8 Fibre Channel (FC).................................................................................8 iSCSI ......................................................................................................8 Storage Natural Block Sizes ........................................................... 9 Applying Partitions to Disk Drives ..................................................... 10 Changing Standards for Partitioning ............................................. 10 How Changing Standards Affect Partition Tools and Alignment... 11 Using
    [Show full text]
  • File Systems
    File Systems Main issues: • performance, • space usage. cse/UNSW COMP9242 2002/S2 W9 P1 Main considerations: • file sizes, • file usage patterns, • memory vs. disk speeds, • disk characteristics. cse/UNSW COMP9242 2002/S2 W9 P2 FILE SIZES AND USAGE PATTERNS: In teaching/programming envs, files tend to be [ODCH+85]: • small (>50% <2kB, average size 22kB), cse/UNSW COMP9242 2002/S2 W9 P3 FILE SIZES AND USAGE PATTERNS: In teaching/programming envs, files tend to be [ODCH+85]: • small (>50% <2kB, average size 22kB), ? But growing — (1992 study average sizes > than 1985 study) cse/UNSW COMP9242 2002/S2 W9 P3 FILE SIZES AND USAGE PATTERNS: In teaching/programming envs, files tend to be [ODCH+85]: • small (>50% <2kB, average size 22kB), ? But growing — (1992 study average sizes > than 1985 study) • short lived, cse/UNSW COMP9242 2002/S2 W9 P3 FILE SIZES AND USAGE PATTERNS: In teaching/programming envs, files tend to be [ODCH+85]: • small (>50% <2kB, average size 22kB), ? But growing — (1992 study average sizes > than 1985 study) • short lived, • open for very short times, cse/UNSW COMP9242 2002/S2 W9 P3 FILE SIZES AND USAGE PATTERNS: In teaching/programming envs, files tend to be [ODCH+85]: • small (>50% <2kB, average size 22kB), ? But growing — (1992 study average sizes > than 1985 study) • short lived, • open for very short times, • mostly read/written entirely, • mostly processed sequentially, • many more reads than writes (“worm”: write once, read many), cse/UNSW COMP9242 2002/S2 W9 P3 FILE SIZES AND USAGE PATTERNS: In teaching/programming envs,
    [Show full text]