DIRECTORY (FTP client and server) statement

Use the DIRECTORY statement to specify the number of directory blocks to be allocated for the directory of a PDS.

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

Read syntax diagramSkip visual syntax diagram
   .-DIRECTORY 27--------.   
>>-+---------------------+-------------------------------------><
   '-DIRECTORY--+------+-'   
                '-size-'     

Parameters

size
The number of directory blocks to be allocated for the directory of a PDS. The valid range is 1 - 16 777 215 blocks (the operating system maximum). The default is 27.

Examples

Allocate a PDS with 15 directory blocks:
Directory 15
Specify DIRECTORY with no value to allow the directory information from an SMS dataclass to be used:
DIRECTORY

Usage notes

Related topics