
DSN Parameter DD Statements for Tape and Disk Datasets
6-22 User Reference
DSN Parameter
The DSN parameter specifies the name of the dataset being processed. It is required for all
tape and disk datasets. It also determines which version or versions of the dataset will be used
for input.
The rules for dataset names with DD statements are slightly different from those with standard
VSE JCL. Both tape and disk dataset names can be up to 44 characters long. Generation
dataset names are limited to 35 characters. If the dataset name contains blanks, enclose it in
apostrophes.
Only the first 17 characters of the dataset name are written on a tape's HDR1 label.
DSN=
dataset-name
.G
nnnn
[V
nnn
]
(0)
(-
n
)
(+
n
)
(
area
)
or
DSN=&[&]
dsname
Subparameter Required? Valid Default
dataset-name
Yes 1 to 44 characters None
.Gnnnn[Vnnn] No Generation number None
n
No Zero or signed integer See text
area
No INDEX|PRIME|OVFLOW None
dataset-name specifies the dataset name.
.Gnnnn[Vnnn] specifies a disk version by generation number. Specify the generation
number after the G, but before the V, if any. The Vnnn portion of the parameter is ignored by
BIM-EPIC and can be omitted. It is included for MVS compatibility only.
(0), (-n), or (+n) specify a version by version number. (0) indicates the current version. A
minus sign (-) indicates a previous version for input. A plus sign (+) indicates a new version
for output.
For input, if no version is specified in the dataset name, all versions of a generation dataset
will be concatenated and read!
Description
Syntax
Subparameters
WARNING!
Kommentare zu diesen Handbüchern