Use the
BLKSIZE statement to specify the block size of newly allocated data
sets.
- Server
- This setting applies when creating files on the server's system
(for example, with a PUT subcommand).
- Client
- This setting applies when creating files on the client's system
(for example, with a GET subcommand).
Syntax

.-BLKSIZE 6233------.
>>-+-------------------+---------------------------------------><
'-BLKSIZE--+------+-'
'-size-'
Parameters
- size
- Specifies the block size of newly allocated data sets. The valid
range is 0 - 32 760. Specifying no value, or a value of 0 for
block size, allows the block size from a model DCB data set or SMS
dataclass to be used. The default block size is 6 233.
Examples
Set block size to 6 144 bytes:
BLKSIZE 6144
Allow the block size from
a model DCB data set or SMS dataclass to be used:
BLKSIZE
Usage notes
- If you specify the BLKSIZE statement without a size,
FTP does not specify the block size when allocating new data sets.
- The block size attribute can be obtained from an SMS data class
using the DATACLASS configuration statement, from a model data set
using the DCBDSN configuration statement, or from the BLKSIZE statement.
- Use BLKSIZE without a size if you have:
- Specified a DATACLASS statement and want to use the blocksize
from the data class, or
- Specified a DCBDSN statement and want to use the blocksize from
the model data set.
- If you specify a DATACLASS, a DCBDSN, and BLKSIZE without size,
the value from the model data set is used.
- To
override the blocksize attribute from the DATACLASS or DCBDSN settings:
- Specify BLKSIZE with a value other than 0, or
- Do not specify the BLKSIZE statement, and use the default.