z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for using a DCBDSN model to create a new data set

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

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.

  1. 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.

    _________________________________________________________________

  2. Issue the following command to enable the LRecl, BLKSIze, and RECfm of the model to be used:
    SITE LRECL BLKSIZE RETPD RECFM

    _________________________________________________________________

  3. 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).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).