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.

IMPORTOUTFILE(ddname)specifies the name of a DD statement that identifies the data set name andvolumes of the cluster, alternate index, or user catalog that is to beimported.If the object was permanently exported or you are importing to a volumeother than the original volume, the DD statement specifies the name of thecluster or alternate index as DSNAME, the volume serial number, thedevice type, DISP=OLD, and AMP=’AMORG’.If the object has its data and index components on different device types,specify OUTDATASET instead of OUTFILE.If the NEWNAME parameter is specified <strong>for</strong> the cluster or alternate indexentry, the data set name on the DD statement must be the same as the newname. Failure to do so will result in the deletion of the original cluster.Abbreviation: OFILEOUTDATASET(entryname)specifies the name of the cluster, alternate index, or user catalog that is tobe imported. If you select OUTDATASET, the VSAM data set you identifyis dynamically allocated.You can use concatenated DD statements if the object was permanentlyexported and its data and index components are on different device types.The first DD statement specifies the name of the cluster or alternate indexas the DSNAME, the volume serial numbers and device type of the datacomponent, DISP=OLD, and AMP=AMORG. The second DD statementspecifies the name of the index component as the DSNAME, the volumeserial numbers and device type of the index component, DISP=OLD, andAMP=AMORG.If NEWNAME is specified <strong>for</strong> the cluster or alternate index entry,entryname must be the same as the new name. Also, this should be thesame name as declared on the NEWNAME parameter. Failure to do so willresult in the deletion of the original cluster.Abbreviation: ODSOptional ParametersALIAS|NOALIASspecifies whether any aliases are defined <strong>for</strong> the imported catalog. ALIAScauses the IMPORT command to retrieve the aliases that were exported anddefine them <strong>for</strong> the catalog being imported. The default, NOALIAS, will resultin no aliases being imported.If ALIAS is specified, and the catalogvvvexists but is empty, any aliases that exist in the system <strong>for</strong> that catalog arenot deleted. Any aliases that exist on the portable data set are defined <strong>for</strong>the imported catalog if the aliases do not exist on the system. Any duplicatealiases will produce a duplicate alias message. IMPORT will print the list ofaliases that were defined <strong>for</strong> the imported catalog.exists and is not empty, the catalog is deleted and redefined from theportable data set. Any aliases that exist in the system are not deleted. Aliaseson the portable data set are not defined but a list of the alias names from theportable data set are printed.does not exist, the catalog is defined along with its aliases from the portabledata set. The catalog will then be loaded from the portable data set.Chapter 25. IMPORT 261

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

Saved successfully!

Ooh no, something went wrong!