We can use a DCBDSN model to specify the data set attributes
to create a new data set.
Procedure
Perform the following steps to use a DCBDSN model to
create a data set.
- Issue the following command:
SITE DCBDSN=data_set_name
where
data_set_name is the name of the data set to be used as a model to set
the values of the logical record length (LRecl), the block size (BLKsize),
the retention period (RETpd), and the record format (RECfm) of a new
data set.
_________________________________________________________________
- Issue the following command to enable the LRecl, BLKSIze,
and RECfm of the model to be used:
SITE LRECL BLKSIZE RETPD RECFM
_________________________________________________________________
- Issue the following command to create the new data set
with the values specified by the DCBDSN model:
PUT data_set_name
where
data_set_name is the name of the new data set.
Note: If you are using a non-MVS™ client that does not support the SITE command, you might be able to send the SITE command to the MVS server by using the QUOTE command.
For example:
QUOTE SITE DCBDSN=data_set_name
Results
Restriction: If more than one concurrent FTP
user attempts to update a partitioned data set (PDS) using the FTP
REName, DELEte, or PUt subcommands, the PDS directory might be accessed
by more than one user simultaneously. This situation can cause problems
with the PDS directory. To avoid this situation, when concurrent
users are using FTP REName, DELEte, or PUt subcommands to update a
PDS, use a partitioned data set extended (PDSE).