Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
DEFINE NONVSAM z/OS DFSMS Access Method Services Commands SC23-6846-01 |
|||||||||||||||||||||||||
Using Access Method Services, you can set up jobs to execute a sequence of commands with a single invocation of IDCAMS. Modal command execution is based on the success or failure of prior commands. The DEFINE NONVSAM command defines a catalog entry for non-VSAM data sets or a collection of objects. The syntax of the DEFINE NONVSAM command is:
DEFINE can be abbreviated: DEF A sequence of commands commonly used in a single job step includes DELETE––DEFINE––REPRO or DELETE––DEFINE––BLDINDEX. You can specify either a DD name or a data set name with these commands. When you refer to a DD name, however, allocation occurs at job step initiation. This could result in a job failure if a command such as REPRO follows a DELETE––DEFINE sequence that changes the location (volser) of the data set. A failure can occur with either SMS-managed or non-SMS-managed data sets. DEFINE NONVSAM does not allocate space on the volume. To allocate the primary space on a volume for a new NONVSAM data set, create the data set using a JCL DD statement specifying DISP=NEW. To avoid potential failures with a modal command sequence in your
IDCAMS job:
Restrictions:
For information on generation data group wrapping rules, see z/OS MVS JCL Reference. |
Copyright IBM Corporation 1990, 2014
|