09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

v The first qualifier is the same as the name or the alias of a VSAM usercatalogthen the user catalog so identified is selected to contain the work file entries.4. The master catalog is selected to contain the work file entries.Catalog Selection Order <strong>for</strong> DEFINE1. If a catalog is defined in the CATALOG parameter, that catalog is selected tocontain the to-be-defined entry.2. When a non-VSAM generation data group (GDG) data set is defined, thecatalog containing the GDG base is selected to contain the to-be-definednon-VSAM entry.3. The first user catalog listed in the current job step (STEPCAT) or, if none isspecified <strong>for</strong> the job step, the first user catalog in the current job (JOBCAT) isselected to contain the to-be-defined entry.Recommendation: You should not use JOBCAT and STEPCAT DD statements.By default, JOBCAT and STEPCAT DD statements are disabled.4. If no user catalog is specified <strong>for</strong> the current job step or job, the entry’s name isa qualified name, and:vOne or more of its qualifiers is the same as the name or the alias of a catalog,orv The first qualifier is the same as the name or the alias of a VSAM usercatalog,then the catalog so identified is selected to contain the to-be-defined entry.5. If no catalog has been identified, either explicitly or implicitly, VSAM definesan object in the master catalog.Catalog Search Order <strong>for</strong> DELETEIf this is not a generic delete, the order in which catalogs are searched to locate anentry to be deleted is:1. If a catalog is given in the CATALOG parameter, only that catalog is searched.If the entry is not found, a no-entry-found error is returned.2. Any user catalog in the current job step (with a STEPCAT DD statement) issearched. If more than one catalog is specified <strong>for</strong> the job step, the catalogs aresearched in order of concatenation. If the entry is found, no other catalog issearched.If a STEPCAT catalog is specified and the entry is not found, the JOBCATcatalog is not searched. The catalog search continues with step 3.If no STEPCAT catalog is specified <strong>for</strong> the job step, and a user catalog is given<strong>for</strong> the current job (with a JOBCAT DD statement), the JOBCAT catalog issearched. If more than one catalog is listed <strong>for</strong> the job, the catalogs are searchedin order of concatenation. If the entry is found, no other catalog is searched.Recommendation: You should not use JOBCAT and STEPCAT DD statements.By default, JOBCAT and STEPCAT DD statements are disabled.3. If the entry is identified with a qualified entry name, and:v One or more of its qualifiers is the same as the name or the alias of a catalog,If the entry is found, no other catalog is searched.4. If the entry is not found, the master catalog is searched. If the entry is notfound in the master catalog, a no-entry-found error is returned.Chapter 1. Using <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!