z/OS DFSMSdfp Utilities
Previous topic |
Next topic
|
Contents
|
Contact z/OS
|
Library
|
PDF
Contents (exploded view)
z/OS DFSMSdfp Utilities
SC23-6864-00
Abstract for DFSMSdfp Utilities
z/OS Version 2 Release 1 summary of changes
Introduction
Guide to utility program functions
System utility programs
Data set utility programs
Control
Job Control Statements
Sharing data sets
Utility control statements
Continuing utility control statements
Restrictions
Special referencing aids
IEBCOMPR (Compare Data Sets) Program
Input and Output
Control
Job Control Statements
Utility Control Statements
COMPARE Statement
EXITS Statement
LABELS Statement
IEBCOMPR Examples
Example 1: Compare Data Sets that Reside on Tape
Example 2: Compare Sequential Data Sets that Reside on Tape
Example 3: Compare Sequential Data Sets Written at Different Densities
Example 4: Compare Sequential Data Sets—Input Stream and Tape Input
Example 5: Copy and Compare Sequential Data Set in Two Job Steps
Example 6: Compare Two Partitioned Data Sets
Example 7: Copy and Compare Partitioned Data Set in Two Job Steps
Example 8: Compare Two PDSEs
IEBCOPY (Library Copy) Program
Converting Load Modules to Program Objects or the Reverse
Converting Partitioned Data Sets to PDSEs
Copying Data Sets
Merging Data Sets
Increasing Directory Space for a Partitioned Data Set
Unloading (Backing up) Data Sets
Copying Directory Information between a Partitioned Data Set and a PDSE
Loading or Copying Unload Data Sets
IEBCOPY Unload Data Set DCB Parameters
Selecting Members to be Copied, Unloaded, or Loaded
Excluding Members from a Copy Operation
Copying Members That Have Alias Names (COPY Statement)
Replacing Members in a Data Set
Specifying Replacement on the Data Set Level
Specifying Replacement on the Member Level
Processing Considerations for Replacing Members
Renaming Selected Members
Using the SELECT statement to rename members
Copying Program Objects (COPYGRP and COPYGROUP Statements)
COPYGROUP
Replacing Program Objects
Compressing a Partitioned Data Set
Processing Considerations for Compress
Altering Load Modules
Copying and Reblocking Load Modules
Changed COPYMOD operation
How IEBCOPY Uses Virtual Storage for Tables and Buffers
How IEBCOPY Allocates Tables and Buffers
Avoiding the Need to Supply Control Statements
Restrictions
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
SYSUT1 (anyname1) and SYSUT2 (anyname2) DD Statements
SYSUT3 and SYSUT4 DD statements
SYSIN DD Statement
Utility Control Statements
ALTERMOD Statement
COPY Statement
Usage Notes for COPY
COPYGRP Statement
Usage Notes for COPYGRP
COPYGROUP Statement
Usage Notes for COPYGROUP
COPYMOD Statement
INDD=Statement
EXCLUDE Statement
SELECT Statement
SELECT Member name filter pattern masking
IEBCOPY Examples
Example 1: Copy an Entire Data Set
Example 2: Merge Four Data Sets
Example 3: Copy and Replace Selected Members of a Data Set
Example 4: Unload and Compress a Data Set
Example 5: Merge Data Sets and Compress the Merged Data Set
Example 6: Multiple Copy Operations with One Output Data Set
Example 7: Multiple Copy Operations with Different Output Data Sets
Example 8: Loading a Data Set
Example 9: Unload Selected Members, Load, Copy and Merge
Example 10: Alter Load Modules in Place
Example 11: Replace a Load Module Using COPYMOD
Example 12: Reblock Load Library and Distribute It to Different Device Types
Example 13: Convert a Partitioned Data Set to a PDSE
Example 14: Copy Groups from a PDSE to a PDSE
Example 15: Copy Groups from a PDSE to a PDSE with Replace
Example 16: Copy a Selected Group from a PDSE to a PDSE
IEBDG (Test Data Generator) Program
Selecting a Pattern
IBM-Supplied Patterns
User-Specified Patterns
Modifying Fields in a Record
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
anyname1 DD Statement
anyname2 DD Statement
SYSIN DD Statement
Utility Control Statements
DSD Statement
FD Statement
Usage notes for FD
REPEAT Statement
CREATE Statement
END Statement
IEBDG Examples
Example 1: Place Binary Zeros in Records Copied from Sequential Data Set
Example 2: Ripple 10-byte Alphabetic Pattern
Example 3: Create Output Records from Utility Control Statements
Example 4: Use Members and Input Records as Basis of Output Member
Example 5: Create Records in Three Output Data Sets and Write them to Three Partitioned Data Set Members
Example 6: Construct Records with Your Own Patterns
IEBEDIT (Edit Job Stream) Program
Input and Output
Control
Job Control Statements
SYSPRINT DD Statement
SYSUT1, SYSUT2, and SYSIN DD Statements
Utility Control Statement
IEBEDIT Examples
Example 1: Copy One Job
Example 2: Copy Steps from Three Jobs
Example 3: Include Step from One Job, Exclude Step from Another
Example 4: Copy Statement for JOBA and JOB STEPF
Example 5: Copy Entire Input Data Set
Example 6: Copy Entire Data Set to Include New Delimiter
IEBGENER (Sequential Copy/Generate Data Set) Program
Creating a Backup Copy
Producing a Partitioned Data Set or PDSE from Sequential Input
Adding Members to a Partitioned Data Set or PDSE
Producing an Edited Data Set
Changing Logical Record Length
Using IEBGENER with Double-Byte Character Set Data
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
SYSUT1 DD Statement
SYSUT2 DD Statement
SYSIN DD Statement
Utility Control Statements
GENERATE Statement
EXITS Statement
LABELS Statement
MEMBER Statement
RECORD Statement
IEBGENER Examples
Example 1: Print a Sequential Data Set
Example 2: Create a Partitioned Data Set from Sequential Input
Example 3: Convert Sequential Input into Partitioned Members
Example 4: In-stream Input, Sequential Data Set to Tape Volume
Example 5: Produce Blocked Copy on Tape from Unblocked Disk File
Example 6: Edit and Copy a Sequential Input Data Set with Labels
Example 7: Edit and Copy a Sequential z/OS UNIX File to a Sequential Data Set
Example 8: Edit Double-Byte Character Set Data
IEBIMAGE (Create Printer Image) Program
Storage Requirements for SYS1.IMAGELIB Data Set
Maintaining the SYS1.IMAGELIB Data Set
General Module Structure
Naming Conventions for Modules
Creating a Forms Control Buffer Module
3800 FCB Module Structure
4248 FCB Module Structure
FCB Module Listing
Creating a Copy Modification Module
COPYMOD Module Structure
COPYMOD Module Listing
Creating a Character Arrangement Table Module
TABLE Module Structure
TABLE Module Listing
Creating a Graphic Character Modification Module
GRAPHIC Module Structure
For the 3800 Model 1 Printing Subsystem
For the 3800 Model 3
GRAPHIC Module Listing
Creating a Library Character Set Module
CHARSET Module Structure
For the 3800 Model 1
For the 3800 Model 3
CHARSET Module Listing
Input and Output
Control
Job Control Statements
SYSPRINT DD Statement
SYSUT1 DD Statement
SYSIN DD Statement
Utility Control Statements
Operation Groups
FCB Statement
COPYMOD Statement
TABLE Statement
GRAPHIC Statement
CHARSET Statement
INCLUDE Statement
NAME Statement
OPTION Statement
Using OVERRUN
IEBIMAGE Examples
Example 1: Build a New 3800 Forms Control Buffer Module
Example 2: Replace a 3800 Forms Control Buffer Module
Example 3: Replace a 3800 Forms Control Buffer Module
Example 4: Build a New 3800 Forms Control Buffer Module
Example 5: Replace the 3800 Forms Control Buffer Module STD3
Example 6: Build a New 3800 Forms Control Buffer Module for Additional ISO Paper Sizes
Example 7: Build a 4248 Forms Control Buffer Module
Example 8: Build a New Copy Modification Module
Example 9: Build a New Copy Modification Module from an Existing Copy
Example 10: Add a New Character to a Character Arrangement Table Module
Example 11: Build a New Character Arrangement Table Module from an Existing Copy
Example 12: Build Graphic Characters in a Character Arrangement Table Module
Example 13: Delete Graphic References From a Character Arrangement Table Module
Example 14: List the World Trade National Use Graphics Graphic Character Modification Module
Example 15: Build a Graphic Character Modification Module from the Character Modification Module World Trade GRAFMOD
Example 16: Build a New Graphic Character Modification Module and Modify a Character Arrangement Table to Use It
Example 17: Build a Graphic Character Modification Module from Multiple Sources
Example 18: Define and Use a Character in a Graphic Character Modification Module
Example 19: List a Library Character Set Module
Example 20: Build a Library Character Set Module
Example 21: Build a Library Character Set Module and Modify a Character Arrangement Table to Use It
Example 22: Build a Library Character Set Module from Multiple Sources
IEBISAM Program
IEBPDSE (PDSE Validation) Program
Input and Output
Control
Job Control Statements
SYSPRINT DD Statement
IEBPDSE Examples
Example 1: Validate one PDSE
Example 2: Validate two PDSEs
Example 3: Validate a PDSE with the DUMP option
IEBPTPCH (Print-Punch) Program
Printing or Punching an Entire Data Set or Selected Member
Printing or Punching an Edited Data Set
Printing or Punching Double-Byte Character Set Data
Printing or Punching Selected Records
Printing or Punching a Partitioned Directory
Printing or Punching to Disk or Tape
Input and Output
Control
Job Control Statements
SYSPRINT DD Statement
SYSUT1 DD Statement
SYSUT2 DD Statement
SYSIN DD Statement
Utility Control Statements
PRINT and PUNCH Statements
TITLE Statement
EXITS Statement
MEMBER Statement
RECORD Statement
LABELS Statement
IEBPTPCH Examples
Example 1: Print Partitioned Data Set
Example 2: Punch Sequential Data Sets
Example 3: Duplicate a Card Deck
Example 4: Print Sequential Data Set According to Default Format
Example 5: Print Sequential Data Set According to User Specifications
Example 6: Print Three Record Groups
Example 7: Print a Pre-Formatted Data Set
Example 8: Print Directory of a Partitioned Data Set
Example 9: Print Selected Records of a Partitioned Data Set
Example 10: Convert to Hexadecimal and Print Partitioned Data
Example 11: Print Member Containing DBCS Data
IEBUPDTE (Update Data Set) Program
Creating and Updating Data Set Libraries
Modifying an Existing Data Set
Changing Data Set Organization
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
SYSUT1 and SYSUT2 DD Statements
SYSIN DD Statement
Utility Control Statements
Function Statement
Function Restrictions
Detail Statement
Detail Restrictions
Data Statement
LABEL Statement
ALIAS Statement
ENDUP Statement
IEBUPDTE Examples
Example 1: Place Two Procedures in SYS1.PROCLIB
Example 2: Create a Three-Member Library
Example 3: Create New Library Using SYS1.MACLIB as a Source
Example 4: Update a Library Member
Example 5: Create New Master Data Set and Delete Selected Records
Example 6: Create and Update a Library Member
Example 7: Insert Records into a Library Member
Example 8: Renumber and Insert Records into a Library Member
Example 9: Create a Sequential Data Set from Card Input
Example 10: Copy Sequential Data Set from One Volume to Another
Example 11: Create a New Partitioned Data Set
IEHINITT (Initialize Tape) Program
Placing a Standard Label Set on Magnetic Tape
Using DFSMSrmm
Replacing the Key Encrypting Key Structure
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
anyname DD Statement
Tape Library Dataserver Considerations
SYSIN DD Statement
Utility Control Statements
INITT Statement
REKEY Statement
IEHINITT Examples
Example 1: Write EBCDIC Labels on Three Tapes
Example 2: Write an ISO/ANSI Label on a Tape
Example 3: Place Two Groups of Serial Numbers on Six Tape Volumes
Example 4: Place Serial Number on Eight Tape Volumes
Example 5: Write EBCDIC Labels in Different Densities
Example 6: Write Serial Numbers on Tape Volumes at Two Densities
Example 7: Write an ISO/ANSI Label with an Access Code
Example 8: Write on a tape following labeling without demounting and remounting
Example 9: Rekey one tape volume
Example 10: Multiple tapes specified for SER keyword
Example 11: Three tapes with NUMBTAPE specified
Example 12: Multiple REKEY Control Statements
Example 13: Multiple Control Statements with NUMBTAPE
Example 14: Printout of INITT Statement Specifications and Initial Volume Label Information
IEHLIST (List System Data) Program
Listing a Partitioned Data Set or PDSE Directory
Edited Format
Unedited (Dump) Format
Listing a Volume Table of Contents
Edited Format
First Edited Format
Indexed VTOCs
Second Edited Format
Unedited (Dump) Format
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
anyname DD Statement
SYSIN DD Statement
Utility Control Statements
LISTPDS Statement
LISTVTOC Statement
IEHLIST Examples
Example 1: List Partitioned Directories Using DUMP and FORMAT
Example 2: List Non-indexed Volume Table of Contents
IEHMOVE (Move System Data) Program
Considering Volume Size Compatibility
Allocating Space for a Moved or Copied Data Set
Reblocking Data Sets
Using IEHMOVE with RACF
Moving or Copying a Data Set
Sequential Data Sets
Partitioned Data Sets
BDAM Data Sets
Multivolume Data Sets
Unloaded Data Sets
Unmovable Data Sets
Moving or Copying a Group of Cataloged Data Sets
Moving or Copying a Volume of Data Sets
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
SYSUT1 DD Statement
anyname DD Statement
tape DD Statement
SYSIN DD Statement
Utility Control Statements
MOVE DSNAME and COPY DSNAME Statements
MOVE DSGROUP and COPY DSGROUP Statements
MOVE PDS and COPY PDS Statements
MOVE VOLUME and COPY VOLUME Statements
INCLUDE Statement
EXCLUDE Statement
SELECT Statement
REPLACE Statement
IEHMOVE Examples
Example 1: Move Sequential Data Sets from Disk Volume to Separate Volumes
Example 2: Move Partitioned Data Set to Disk Volume and Merge
Example 3: Move Volume of Data Sets to Disk Volume
Example 4: Move Partitioned Data Set to Allocated Space
Example 5: Move and Unload Partitioned Data Sets Volume
Example 6: Unload Sequential Data Set onto Unlabeled Tape Volume
Example 7: Load Unloaded Sequential Data Sets from Labeled Tape
Example 8: Move Cataloged Data Set Group
IEHPROGM (Program Maintenance) Program
Scratching or Renaming a Data Set or Member
Maintaining Data Set Passwords
Adding Data Set Passwords
Replacing Data Set Passwords
Deleting Data Set Passwords
Listing Password Entries
Input and Output
Control
Job Control Statements
EXEC Statement
SYSPRINT DD Statement
anyname DD Statement
SYSIN DD Statement
Utility Control Statements
SCRATCH Statement
RENAME Statement
CATLG and UNCATLG Statements
ADD (Add a Password) and REPLACE (Replace a Password) Statements
DELETEP (Delete a Password) Statement
LIST (List Information from a Password) Statement
IEHPROGM Examples
Example 1: Scratch Temporary System Data Sets
Example 2: Scratch and Uncatalog Two Data Sets
Example 3: Rename a Multi-Volume Data Set Catalog
Example 4: Uncatalog Three Data Sets
Example 5: Rename a Data Set and Define New Passwords
Example 6: List and Replace Password Information
Example 7: Rename a Partitioned Data Set Member
IFHSTATR (List ESV Data) program
Assessing the quality of tapes in a library
Input and output
Control
IFHSTATR example
Invoking Utility Programs from an Application Program
IEBCOPY User-Exit Parameter
Invocation of IEBCOPY
IEBCOPY User Exit Routines
Parameter List for Calls to the Exits
The Control Statement Exit
The Member-Selection Exit
Building Parameter Lists
Options List
ddname List
Page Header Parameter
Return Codes
IEBCOMPR Return Codes
IEBCOPY Return Codes
IEBCOPY User ABEND Codes
IEBDG Return Codes
IEBEDIT Return Codes
IEBGENER Return Codes
IEBIMAGE Return Codes
IEBPDSE Return Codes
IEBPTPCH Return Codes
IEBUPDTE Return Codes
IEHINITT Return Codes
IEHLIST Return Codes
IEHMOVE Return Codes
IEHPROGM Return Codes
Unload partitioned data set format
Introduction
Records present in an unload data set
Different unload data set formats
Detailed record descriptions
General rules and restrictions
Header records
Directory block records
Attribute records
Note list records
IEBCOPY user TTR limits
Member data records
Specifying User Exits with Utility Programs
General Guidance
Register Contents at Entry to Routines from Utility Programs
Programming Considerations
Returning from an Exit Routine
Parameters Passed to Label Processing Routines
Parameters Passed to Nonlabel Processing Routines
Processing User Labels
Processing User Labels as Data Set Descriptors
Exiting to a Totaling Routine
Processing User Labels as Data
Using an Exit Routine with IEBDG
IEHLIST VTOC Listing
IEHLIST Sample Output
IEHLIST Sample Output for Data Sets Supporting Extended Attribute DSCBs
IEHLIST Sample Output— a table of contents of a volume that has data sets that support extended attribute DSCBs.
IEHLIST DUMP Sample Output— format 8 and 9 DSCBs present for data sets that support the extended attribute DSCBs.
IEHLIST Sample Output Showing Vendor Data
Explanation of fields in IEHLIST formatted VTOC listing
Copyright IBM Corporation 1990, 2014