z/OS DFSMS Access Method Services Commands
Previous topic |
Next topic
|
Contents
|
Contact z/OS
|
Library
|
PDF
Contents (exploded view)
z/OS DFSMS Access Method Services Commands
SC23-6846-01
Abstract for DFSMS Access Method Services Commands
Notational conventions
How to code access method services commands
Commands
Positional and keyword parameters
How to code subparameters
Alphanumeric, national, and special characters
How to continue commands and parameters
The terminator
Summary of changes
z/OS Version 2 Release 1 summary of changes
Using Access Method Services
Identifying Data Sets and Volumes
Dynamic Allocation
Security Authorization
Storage Management Subsystem (SMS) Considerations
JCL DD Statements
JCL DD Statement for a VSAM Data Set
JCL DD Statement for a Volume
JCL DD Statement for a Non-VSAM Data Set
JCL DD Statement for a Snap Dump
JCL DD Statement for a Target Data Set
JCL DD Statement for an Alternate Target Data Set
Direct Allocation Using JCL
Invoking Access Method Services
Using a Job or Jobstep to invoke Access Method Services
From a Time Sharing Option Session
Access Method Services Tape Library Support
Summary of Tape Library Support
Access Method Services Commands for Tape Library Support
ALTER LIBRARYENTRY
ALTER VOLUMEENTRY
CREATE LIBRARYENTRY
CREATE VOLUMEENTRY
DEFINE USERCATALOG
DELETE
DIAGNOSE
EXPORT/IMPORT
LISTCAT
REPRO MERGECAT
REPRO NOMERGECAT
Tape Library Naming Conventions
Tape LibraryTape Library Names
Tape Volume Names
Tape Library Date Formats
Order of Catalog Use
Catalog Search Order for ALTER
Catalog Selection Order for BLDINDEX
Catalog Selection Order for DEFINE
Catalog Search Order for DELETE
Catalog Selection Order for EXPORT DISCONNECT
Catalog Search Order for LISTCAT
Generic Catalog Selection for DELETE and LISTCAT
Understanding the Order of Assigned Data Set Attributes
Modal Commands
Modal Commands
Commonly used single job step command sequences
Avoiding Potential Command Sequence Failures
IF-THEN-ELSE Command Sequence
Using Nested IF Commands: Example 1
Using Nested IF Commands: Example 2
Null Command
DO-END Command Sequence
Using the LASTCC Parameter
SET Command
Using the SET command and MAXCC Parameter
CANCEL Command
Using the CANCEL Command
PARM Command
Using the PARM Command: Example 1
Using the PARM Command: Example 2
Using the PARM Command: Example 3
Condition Codes
Common Continuation Errors in Coding Modal Commands
Functional Command Syntax
Functional Command Syntax Summary
ALLOCATE
Restrictions
Allocating Storage Management Subsystem Managed Data Sets
Allocating Non-SMS Managed Data Sets
Return Codes for the ALLOCATE Command
Syntax for ALLOCATE Parameters
Required Parameters
Optional Parameters
ALLOCATE Examples
Allocate a Data Set Using SMS Class Specifications: Example 1
Allocate a VSAM Data Set Using SMS Class Specifications: Example 2
Allocate a New Data Set: Example 3
Allocate a non-VSAM Data Set: Example 4
Allocate a Partitioned Data Set Extended: Example 5
ALTER
Entry Types That Can Be Altered
ALTER Parameters
Required Parameters
Optional Parameters
ALTER Examples
Alter a Cluster's Attributes Using SMS Keywords: Example 1
Roll-In a Generation Data Set: Example 2
Alter the Entry Names of Generically Named Clusters: Example 3
Alter the Attributes of a Generation Data Group: Example 4
Alter a Data Set Expiration Date: Example 6
Migrate a DB2® Cluster to a Linear Data Set Cluster: Example 7
Alter a Cluster Name and the Associated Data and Index Names: Example 8
ALTER LIBRARYENTRY
ALTER LIBRARYENTRY Parameters
Required Parameters
Optional Parameters
ALTER LIBRARYENTRY Examples
Altering a Tape Library Entry: Example 1
Altering a LIBRARY Entry: Example 2
ALTER VOLUMEENTRY
ALTER VOLUMEENTRY Parameters
Required Parameters
Optional Parameters
ALTER VOLUMEENTRY Examples
Altering a Volume Entry: Example 1
Altering a VOLUME Entry: Example 2
Altering a VOLUME Entry: Example 3
BLDINDEX
BLDINDEX Parameters
Required Parameters
Optional Parameters
Calculating Virtual Storage Space for an Alternate Index
DD Statements That Describe the Sort Work Files
BLDINDEX Examples
Build an Alternate-Index over a Key-Sequenced Data Set (KSDS): Example 1
Build an Alternate-Index over a Key-Sequenced Data Set (KSDS) Using DFSORT: Example 2
CREATE LIBRARYENTRY
Required Parameters
Optional Parameters
CREATE LIBRARYENTRY Examples
Creating a Tape Library Entry: Example 1
Creating a LIBRARY Record: Example 2
CREATE VOLUMEENTRY
Required Parameters
Optional Parameters
CREATE VOLUMEENTRY Examples
Creating a Tape Volume Entry: Example 1
Creating a VOLUME Entry: Example 2
DCOLLECT
DCOLLECT Parameters
Required Parameters
Optional Parameters
DCOLLECT in a Batch Environment
Generic Volume Data Collection: Example 1
Storage Group Data Collection: Example 2
Migrated and Backup Data Set Data Collection: Example 3
Combination of Options: Example 4
Collection of SMS Construct Information: Example 5
DEFINE ALIAS
DEFINE ALIAS Parameters
Required Parameters
Optional Parameters
DEFINE ALIAS Examples
Define Alias for a non-VSAM non-SMS-Managed Data Set: Example 1
Define an Alias for a User Catalog: Example 2
DEFINE ALTERNATEINDEX
DEFINE ALTERNATEINDEX Parameters
Required Parameters
Optional Parameters
Data and Index Components of an Alternate Index
DEFINE ALTERNATEINDEX Examples
Define an Alternate Index Using SMS Data Class Specification: Example 1
Define an SMS-Managed Alternate Index: Example 2
Define an Alternate Index: Example 3
Define an Alternate Index with RECATALOG: Example 4
DEFINE CLUSTER
DEFINE CLUSTER Parameters
Required Parameters
Optional Parameters
Data and Index Components of a Cluster
DEFINE CLUSTER Examples
Define an SMS-Managed Key-Sequenced Cluster: Example 1
Define an SMS-Managed Key-Sequenced Cluster Specifying Data and Index Parameters: Example 2
Define a Key-Sequenced Cluster Specifying Data and Index Parameters: Example 3
Define a Key-Sequenced Cluster and an Entry-Sequenced Cluster: Example 4
Define a Relative Record Cluster in a Catalog: Example 5
Define a Reusable Entry-Sequenced Cluster in a Catalog: Example 6
Define a Key-Sequenced Cluster in a Catalog: Example 7
Define an Entry-Sequenced Cluster Using a Model: Example 8
Define a VSAM Volume Data Set: Example 9
Define a Relative Record Data Set with Expiration Date: Example 10
Define a Linear Data Set Cluster in a Catalog: Example 11
DEFINE GENERATIONDATAGROUP
DEFINE GENERATIONDATAGROUP Parameters
Required Parameters
Optional Parameters
DEFINE GENERATIONDATAGROUP Examples
Define a Generation Data Group and a Generation Data Set within it - non-SMS case: Example 1
Use Access Method Services to Define a GDG and JCL to Define a GDS in that GDG - SMS case: Example 2
DEFINE NONVSAM
DEFINE NONVSAM Parameters
Required Parameters
Optional Parameters
DEFINE NONVSAM Examples
Define a Non-VSAM Data Set with the RECATALOG Parameter: Example 1
Define a Non-VSAM Data Set: Example 2
DEFINE PAGESPACE
DEFINE PAGESPACE Parameters
Required Parameters
Optional Parameters
DEFINE PAGESPACE Examples
Define a Page Space: Example 1
Define a Page Space in another Catalog: Example 2
DEFINE PATH
DEFINE PATH Parameters
Required Parameters
Optional Parameters
DEFINE PATH Examples
Define a Path: Example 1
Define a Path (Recatalog) in a Catalog: Example 2
DEFINE USERCATALOG
DEFINE USERCATALOG Parameters
Required Parameters
Optional Parameters
Data and Index Components of a User Catalog
DEFINE USERCATALOG Examples
Define a User Catalog, Specifying SMS Keywords: Example 1
Define a User Catalog, Taking All Defaults: Example 2
Define a User Catalog, Using SMS Keywords and the VOLUME Parameter: Example 3
Define a User Catalog, Using SMS Keywords and the VOLUME Parameter: Example 4
Define a User Catalog: Example 5
Define a User Catalog Using the MODEL Parameter: Example 6
Define a General Tape Volume Catalog: Example 7
Define a Specific Tape Volume Catalog: Example 8
DELETE
DELETE Parameters
Required Parameters
Using DELETE with the MASK Filter Option
Using DELETE with MASK for Dependent Cluster Objects
Using a MASK pattern for Objects other than CLUSTER, NONVSAM, and GDS
Using DELETE with MASK in a TSO environment
Deleting GDS objects
Using DELETE with GDSs and non-VSAM data sets with dependent ALIASes
Deleting USERCATALOG objects
Optional Parameters
DELETE Examples
Delete a Truename Entry in a Catalog: Example 1
Delete a User Catalog for Recovery: Example 2
Delete VSAM Volume Records: Example 3
Delete a Non-VSAM Data Set's Entry: Example 4
Delete Entries Associated with a Non-VSAM Object from VVDS and VTOC: Example 5
Delete a Key-Sequenced VSAM Cluster in a Catalog: Example 6
Delete Two Key-Sequenced Clusters in a Catalog: Example 7
Delete a User Catalog: Example 8
Delete an Alias Entry in a Catalog: Example 9
Delete Generically Named Entries in a Catalog: Example 10
List a Generation Data Group's Entries, Then Delete the Group and Its Data Sets in a Catalog: Example 11
Delete a Generation Data Group with Recovery: Example 12
Delete a Member of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13
Delete a Member of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13-A
Delete all members of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13-B
Delete all members of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13-C
Delete all members of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13-D
Delete a Page Space: Example 14
Delete a VVDS with Recovery: Example 15
Delete an OAM Collection Name Catalog Entry: Example 16
Delete a Tape Library Entry: Example 17
Delete a Tape Volume Entry: Example 18
DIAGNOSE
DIAGNOSE Parameters
Required Parameters
Optional Parameters
DIAGNOSE Examples
Diagnose a VVDS: Compare the BCS and VVDS Example 1
Diagnose Only the BCS: Example 2
Diagnose the BCS: Compare the BCS and Certain VVDSs: Example 3
Diagnose a VVDS: Compare the BCS and VVDS: Example 4
Diagnose a VVDS: Compare the BCS and VVDS: Example 5
Diagnose a VVDS: Compare the BCS and VVDS: Example 6
Diagnose a VVDS: Compare the BCS and VVDS: Example 7
EXAMINE
EXAMINE Parameters
Required Parameters
Optional Parameters
EXAMINE Examples
Examine the Index Component of a User Catalog: Example 1
Examine Both Components of a Key-Sequenced Data Set: Example 2
Examine the Data Component of a User Catalog: Example 3
EXPORT
EXPORT Parameters
Required Parameters
Optional Parameters
EXPORT Examples
Export a Catalog: Example 1
Export a Key-Sequenced Cluster: Example 2
Export an Entry-Sequenced Cluster: Example 3
Export an Entry-Sequenced Cluster Using CIMODE: Example 4
Export Multiple Data Sets Using Multiple INFILE Parameters: Example 5
EXPORT DISCONNECT
EXPORT DISCONNECT Parameters
Required Parameters
EXPORT DISCONNECT Examples
Export Disconnect of a User Catalog from Another User Catalog: Example 1
Export Disconnect of a User Catalog: Example 2
IMPORT
IMPORT Parameters
Required Parameters
Optional Parameters
IMPORT Examples
Import a Cluster Utilizing SMS Keywords: Example 1
Import a Catalog: Example 2
Import a Key-Sequenced Cluster: Example 3
Import an Entry-Sequenced Cluster in a Catalog: Example 4
Import a Cluster to a Volume Other Than One on Which It Was Originally Defined: Example 5
IMPORT CONNECT
IMPORT CONNECT Parameters
Required Parameters
Optional Parameters
Import Connect Example
Import to Connect a User Catalog
LISTCAT
LISTCAT Usage
LISTCAT Parameters
Required Parameters
Optional Parameters
LISTCAT Examples
List an SMS-Managed Data Set: Example 1
List a Key-Sequenced Cluster's Entry in a Catalog: Example 2
Alter a Catalog Entry, Then List the Modified Entry: Example 3
List Catalog Entries: Example 4
List Catalog Entries: Example 5
List GDG Catalog Entries: Example 6
List a Tape Library Entry: Example 7
List Tape Volume Entries: Example 8
LISTDATA
LISTDATA Parameters
Required Parameters
Optional Parameters
LISTDATA Examples
Listing Subsystem Counters for a Particular Device: Example 1
Listing Subsystem Counters for All Devices within a Subsystem: Example 2
Listing Subsystem Counters for All Devices on Similar Subsystems: Example 3
Listing Subsystem Status: Example 4
Listing Pinned Data: Example 5
Listing Device Status: Example 6
Generating a Remote Support Access Code: Example 7
Reporting Space Efficient Status for a CKD device: Example 8
Reporting Space Efficient Status for a Fixed Block device: Example 9
Reporting extent pool configuration status: Example 10
PRINT
PRINT Parameters
Required Parameters
Optional Parameters
PRINT Examples
Examples of formats: Example 1
CHARACTER example
DUMP example
HEX example
Print a Catalog: Example 2
Print a Key-Sequenced Cluster's Data Records: Example 3
Copy Records from a Non-VSAM Data Set into an Entry-Sequenced VSAM Cluster, Then Print the Records: Example 4
Print a Linear Data Set Cluster: Example 5
Print a Data Set that Contains DBCS Data: Example 6
REPRO
REPRO Parameters
Required Parameters
Optional Parameters
Cryptographic Parameters
REPRO Examples
Copy Records into a VSAM Data Set: Example 1
STEP1
STEP2
Merge an Integrated Catalog Facility User Catalog into Another Integrated Catalog Facility User Catalog: Example 2
Merge Selected Entries (Split) from a User Catalog into Another User Catalog: Example 3
Copy a Catalog: Example 4
STEP 1
STEP 2
STEP 3
STEP 4
Copy a DBCS Data Set: Example 5
Encipher Using System Keys: Example 6
Decipher Using System Keys: Example 7
Encipher Using Private Keys: Example 8
Decipher Using Private Keys: Example 9
SETCACHE
SETCACHE Parameters
Required Parameters
Optional Parameters
Special Purpose Optional Parameters
Using SETCACHE
Setting Caching On for the Subsystem
Setting Caching On for a Device
Setting Cache Fast Write On for the Subsystem
Setting Nonvolatile Storage On for the Subsystem
Setting DASD Fast Write On for a Volume
Creating a Duplex Pair from Two Simplex Volumes
Changing 3990 and 9390 Cache and NVS Operating Modes
Setting Cache Off for the Subsystem
Setting Caching Off for a Device
Setting Nonvolatile Storage Off for the Subsystem
Setting DASD Fast Write Off for a Volume
Setting Cache Fast Write Off for the Subsystem
Resetting a Duplex Pair to Two Simplex Volumes
Destaging All Modified Data in Cache and NVS to DASD
Resetting All Cache and NVS Operating States to Defaults
Using Dual Copy to Migrate Volumes
Migrating Simplex Volume
Migrating Duplex Volumes
Dual Copy Device Address Mapping
SHCDS
SHCDS Parameters
Required Parameters
Optional Parameters
SCHDS Examples
Using PERMITNONRLSUPDATE With a Generic Data Set Name Specification: Example 1
Listing Data Sets With the High-Level Qualifier SYSPLEX: Example 2
Listing data sets with JOBS: Example 3
Listing shunted entries: Example 4
VERIFY
VERIFY Parameters
Required Parameter
Optional Parameter
VERIFY Examples
Upgrade a Data Set's End-of-File Information
Complete Interrupted VSAM Processing
Security Authorization Levels
Required RACF Authorization Tables
Interpreting LISTCAT Output Listings
LISTCAT Output Keywords
Alias Entry Keywords
Alternate-Index Entry Keywords
Cluster Entry Keywords
Data Entry Keywords
Index Entry Keywords
Generation Data Group Base Entry Keywords
Non-VSAM Entry Keywords
Page Space Entry Keywords
Path Entry Keywords
User Catalog Entry Keywords
Description of Keyword Fields
ALC: Allocation Group
ASN: Associations Group
ATT: Attributes Group
GDG: Generation Data Group Base Entry, Special Fields
NVS: Non-VSAM Entry, Special Field
HIS: History Group
PRT: Protection Group
STA: Statistics Group
VLS: Volumes Group
Device Type Translate Table
Examples of LISTCAT Output Listings
Job Control Language (JCL) for LISTCAT Jobs
LISTCAT and Access Method Services Output Messages
LISTCAT Output Listing
LISTCAT NAMES Output Listing
LISTCAT VOLUME Output Listing
LISTCAT ALL Output Listing
LISTCAT ALL Output Listing for a Non-VSAM Tailored Compressed Data Set
LISTCAT ALLOCATION Output Listing
LISTCAT HISTORY Output Listing
LISTCAT LEVEL Output Listing
LISTCAT ENTRIES Output Listing
LISTCAT CREATION/EXPIRATION Output Listing
Examples of LISTCAT in a TSO Environment
Interpreting SHCDS Output Listings
LISTDS
LISTDS with Data Set in Retained Lock State
LISTDS for Data Set Shared by Multiple Subsystems
LISTDS for Data Set in Non-RLS Permitted State
LISTDS with Data Set in Non-RLS Update and Permit First Time States
LISTDS for Data Set in Lost Lock State
LISTDS with JOBS keyword
LISTDS to report the name of the secondary lock structure
LISTSHUNTED
LISTSUBSYS
LISTSUBSYS for All Subsystems Sharing Data Sets in the Sysplex
LISTSUBSYSDS
LISTSUBSYSDS for Subsystem Sharing Multiple Data Sets
LISTSUBSYSDS for All Subsystems in the Sysplex and the Shared Data Sets
LISTSUBSYSDS to report the name of the secondary lock structure
LISTRECOVERY
LISTRECOVERY for Data Set Requiring Recovery
Invoking Access Method Services from Your Program
Authorized Program Facility (APF)
Invoking Macro Instructions
LINK or ATTACH Macro Instruction
LOAD and CALL Macro Instructions
Invocation from a PL/I Program
Processor Invocation
Processor Condition Codes
User I/O Routines
VSAM Record-Level Sharing Considerations
DCOLLECT User Exit
User Exit Description
User Exit Example
Interpreting DCOLLECT Output
DCOLLECT Output Record Structure
DCOLLECT Output Record Field Descriptions
Header Record Field
Active Data Set Record Field
VSAM Association Record Field
Volume Record Field
Data Class Construct Field
Storage Class Construct Field
Management Class Construct Field
Base Configuration Field
Aggregate Group Construct Field
Storage Group Construct Field
Volume Definition Field
Optical Drive Information Field
Library Information Field
Migrated Data Set Record Field
Backup Data Set Record Field
DASD Capacity Planning Record Field
Tape Capacity Planning Record Field
FOOTER
Copyright IBM Corporation 1990, 2014