This command creates a sequential file or a new PDS.
Syntax
ALLOC_DSN DSNAME dsname UNIT unit [VOLUME volume] [DDNAME ddname] SPACE {blk|CYL|TRK},prim[,sec[,dir] [RECFM recfm] [LRECL lrecl] [BLKSIZE blksize]
Parameters
Name of the data set to be allocated. This parameter is required.
Unit address or symbolic name of the device where the data set is allocated. This parameter is required.
DDname assigned to the newly allocated data set. If specified, the SRVMAINT program can use this value to direct output to the new data set.
Values that follow this required parameter determine how much space is reserved for the data set.
Values specified for prim and sec are for data blocks of the size blk.
Values specified for prim and sec are in cylinder increments.
Values specified for prim and sec are in track increments.
Amount of space that is initially reserved for the data set.
If specified and not zero, specifies a secondary amount of space that is allocated when the data set is full.
If specified and not zero, specifies the number of reserved 256-byte blocks for a PDS directory. A non-zero value for dir allocates a PDS.
Record format to be assigned to the data set. The permitted values are: F, FA, FM, FB, FBA, FBM, V, VA, VM, VB, VBA, VBM, and U. The default is FB.
Logical record length that is assigned to the data set. The default is: 80 for RECFM=F; 255 for RECFM=V; 0 for RECFM=U
Block size that is assigned to the data set. The default is lrecl X 10.
Usage Note
You can assign many more attributes to a data set. If you require any of these attributes, use a JCL allocation strategy.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|