Use the VSF2DCB macro to specify DCB default information for the
I/O units that have DCBSET=label parameter
of the VSF2UNIT macro.
The syntax of VSF2DCB macro is as follows:
[label] VSF2DCB [,SFBUFNO=number | 2]
[,SUBUFNO=number | 2]
[,SFBLKSI=number | 800]
[,SUBLKSI=number | 800]
[,SFLRECL=number | 800]
[,SULRECL=number. | -1]
[,SFRECFM=char | U]
[,SURECFM=char | VS]
[,SFMAXRE=number | 100]
[,SUMAXRE=number | 100]
[,DMAXRE=number | 100]
- label
- Specified in the VSF2UNIT macro to identify the I/O units that
are to be assigned DCB default values.
If label is omitted,
the DCB data is assigned to all units defined in the default table
by the VSF2UAT macro, but which have not been defined by the VSF2UNIT
macro. If any of the units defined in the attribute table do not have
their own associated DCBSET coded, you must provide a VSF2DCB macro without
a label to apply defaults to these units.
- SFBUFNO=number | 2
- Specifies the default value for the number of buffers for sequential
formatted files on DASD or tape. number must
be a value greater than or equal to 1 and less than or equal to 255.
- SUBUFNO=number | 2
- Specifies the default value for the number of buffers for sequential
unformatted files on DASD or tape. number must
be a value greater than or equal to 1 and less than or equal to 255.
- SFBLKSI = number | 800
- Specifies the block size for sequential formatted files. number is
an integer expression of length 4 bytes; valid range of the blocksize
is from 1 to 32760.
- SUBLKSI = number | 800
- Specifies the block size for sequential unformatted files. number is
an integer expression of length 4 bytes; valid range of the blocksize
is from 1 to 32760.
- SFLRECL = number | 800
- Specifies the logical record length for sequential formatted files. number is
an integer expression of length 4 bytes; valid range is from 1 to
32756 for variable record formats (SURECFM= V, VA, VB, or VBA), or
1 to 32760 for all other record formats.
- SULRECL = number | -1
- Specifies the logical record length for sequential unformatted
files. number is an integer expression of length 4 bytes; valid
range is from 1 to 32756 for variable record formats (SURECFM= V,
VA, VB, VBA, VS, or VBS), or 1 to 32760 for all other record formats
or -1, which specifies an unlimited record length. -1 is valid for
SURECFM=VS or VBS formats.
- SFRECFM = char | U
- Specifies the record format for sequential formatted files. The
value of char must be F, FA, FB, FBA, V, VA, VB, VBA, U, or
UA. For more information about I/O, see VS FORTRAN Version 2 Programming Guide for
CMS and MVS
- SURECFM = char | VS
- Specifies the record format for sequential unformatted files.
The value of char must be F, FA, FB, FBA, V, VA, VB, VBA, VS,
VBS, U, or UA. For more information about I/O, see VS FORTRAN Version 2 Programming Guide for
CMS and MVS
- SFMAXRE = number | 100
- Specifies the amount of space to be converted into blocks in a
sequential formatted file. It is only valid for new DASD files; if
specified for an existing file, it will be ignored. number is
an integer expression of length 4. See MAXREC in VS FORTRAN Version 2 Programming Guide for
CMS and MVS for
information about how space is converted to blocks.
- SUMAXRE = number | 100
- Specifies the amount of space to be converted into blocks in a
sequential unformatted file. It is only valid for new DASD files;
if specified for an existing file, it will be ignored. number is
an integer expression of length 4. See MAXREC in VS FORTRAN Version 2 Programming Guide for
CMS and MVS for
information about how space is converted to blocks.
- DMAXRE = number | 100
- Specifies the amount of space to be converted into blocks in a
direct file. It is only valid for new DASD files; if specified for
an existing file, it will be ignored. number is an integer
expression of length 4. See VS FORTRAN Version 2 Programming Guide for
CMS and MVS for
information about how space is converted to blocks.
CAUTION: If you change the IBM-supplied default DCB values,
the existing Fortran programs
that depend on the original defaults may not work. For more information
about DCB values, see VS FORTRAN Version 2 Programming Guide for
CMS and MVS .