EXPORT

The EXPORT command either exports a cluster or an alternate index or creates a backup copy of a catalog. An empty candidate volume cannot be exported. Access method services acknowledges and preserves the SMS classes during EXPORT.

Access method services does not use RLS. If an RLS keyword is specified on the DD statement of a file to be opened by AMS, the keyword will be ignored and the file will be opened and accessed in non-RLS mode.

The syntax of the EXPORT command is:

Command Parameters
EXPORT entryname
  {OUTFILE(ddname)|OUTDATASET(entryname)}
  [CIMODE|RECORDMODE]
  [ERASE|NOERASE]
  [INFILE(ddname)]
  [INHIBITSOURCE|NOINHIBITSOURCE]
  [INHIBITTARGET|NOINHIBITTARGET]
  [PURGE|NOPURGE]
  [TEMPORARY|PERMANENT]
  [RLSSOURCE(NO|YES|QUIESCE)]

EXPORT can be abbreviated: EXP

Restrictions: You can export a KSDS with extended addressability to a system that does not support extended addressability if the data set is smaller than 4GB. If it is larger, the EXPORT and IMPORT commands appear to complete successfully, but when the data set tries to extend beyond 4GB, a message is issued. You can use REPRO—specifically FROMKEY and TOKEY, or COUNT parameters—to reduce the data set to less than 4GB before using IMPORT. For the correct procedure to use when copying or moving data sets with pending recovery, see “Using VSAM Record-Level Sharing” in z/OS DFSMS Using Data Sets.