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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 25. IMPORTThe IMPORT command moves or restores a cluster or alternate index, or restores acatalog. The syntax of the IMPORT command is:IMPORT{INFILE(ddname)|INDATASET(entryname)}{OUTFILE(ddname)| OUTDATASET(entryname)}[ALIAS|NOALIAS][ERASE|NOERASE][INTOEMPTY][LOCK|UNLOCK][OBJECTS((entryname[FILE(ddname)][MANAGEMENTCLASS(class)][NEWNAME(newname)][STORAGECLASS(class)][VOLUMES(volser[ volser...])])[(entryname...)...])][PURGE|NOPURGE][SAVRAC|N<strong>OS</strong>AVRAC][CATALOG(catname)]Restrictions:IMPORT ParametersvvvvThe original version of the catalog is always deleted when you use IMPORT.You can export a KSDS with extended addressability to a system that does notsupport extended addressability if the data set is smaller than 4GB. If it is larger,the EXPORT and IMPORT commands appear to complete successfully, but whenthe data set tries to extend beyond 4GB, a message is issued. You can useREPRO—specifically FROMKEY and TOKEY, or COUNT parameters—to reducethe size of the data set to less than 4GB be<strong>for</strong>e using IMPORT.VSAM record-level sharing (RLS) in<strong>for</strong>mation is lost when the IMPORT is doneon a <strong>DFSMS</strong>/MVS 1.2 or lower system. For the correct procedure to use whencopying or moving data sets with pending recovery, see “Using VSAMRecord-Level Sharing” in z/<strong>OS</strong> <strong>DFSMS</strong>: Using Data Sets and CICS Recovery andRestart Guide .<strong>Access</strong> <strong>Method</strong> <strong>Services</strong> does not use RLS. If an RLS keyword is specified on theDD statement of a file to be opened by AMS, the keyword will be ignored andthe file will be opened and accessed in non-RLS mode.The IMPORT command uses the following parameters.Required ParametersINFILE(ddname)|INDATASET(entryname)specifies the name of a DD statement or names the portable data set thatcontains a copy of the cluster, alternate index, or user catalog to be imported.© Copyright IBM Corp. 1973, 2004 259

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

Saved successfully!

Ooh no, something went wrong!