
OPTION Parameter
6-36 User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
Example The following example shows how the OPTION parameter is used.
// JOB IDCAMS REPRO DISK TO TAPE
* //IN DD DSN=DISK.SEQ,DISP=OLD,
* // UNIT=DISK,OPTION=SYS007
* //OUT DD DSN=DISK.SEQ.BACKUP,OPTION=SYS005,
* // DISP=(NEW,KEEP,DELETE)
// EXEC IDCAMS,SIZE=AUTO
REPRO INFILE(IN -
ENVIRONMENT (RECFM(FIXBLK) BLKSZ(800) RECSZ(40) )) -
SPACE=*.ddname[x]
(continued)
To allocate a new dataset one track larger than
the space the referenced dataset occupies,
specify:
* //FILEOUT DD DSN=dataset-name,DISP=(NEW,CATLG)
* //UNIT=SYSDA,OPTION=SPACE=*.REFFILE+1
To allocate a new dataset five tracks smaller
than the space the referenced dataset occupies,
specify:
* //FILEOUT DD DSN=dataset-name,DISP=(NEW,CATLG)
* //UNIT=SYSDA,OPTION=SPACE=*.REFFILE-5
To allocate a new dataset half of the space
occupied by the referenced dataset, specify:
* //FILEOUT DD DSN=dataset-name,DISP=(NEW,CATLG)
* //UNIT=SYSDA,OPTION=SPACE=*.REFFILE*.5
To allocate a new dataset twice the space
occupied by the referenced dataset, specify:
* //FILEOUT DD DSN=dataset-name,DISP=(NEW,CATLG)
* //UNIT=SYSDA,OPTION=SPACE=*.REFFILE*2
SYSnnn Causes the specified SYS number to be assigned to
this dataset. Replace nnn with the appropriate
programmer logical unit number or RDR, IPT,
PCH, or LST.
If necessary, you can use OPTION=SYSnnn to
satisfy the checking that some programs do before a
dataset is opened. This checking is performed by
programs such as IBM's SORT/MERGE. For most
jobs, this checking eliminates the need to execute
TSIDASS ASSGN for tape datasets or to use //
ASSGN statements for disk datasets. For disk
datasets, ensure that the pool name is specified in
the DSN Catalog or on the VOL=SER parameter.
TPL=x Specifies a tape pool to be used for new tape
datasets. TPL=x is recognized only when
DISP=(NEW,CATLG) is specified causing a new
dataset to be automatically cataloged or an existing
dataset to be updated. Updating is only allowed with
configuration option JCLOVRDE=YES.
Subparameter Definition
Comentarios a estos manuales