UNITNAME (FTP client and server) statement

Use the UNITNAME statement to specify the unit type for allocation of new data sets.

Server
This setting applies when creating data sets on the server's system.
Client
This setting applies when creating data sets on the client's system.

Syntax

Read syntax diagramSkip visual syntax diagramUNITNAME type

Parameters

type
The type of either direct access or tape devices.
SYSDA
If type is not specified, the unit type used for allocation is the system default.

Examples

  • Set the unit type for new data sets to 3380:
    UNITNAME 3380
  • Set the unit type for new data sets to TAPE:
    UNITNAME TAPE

Usage notes

  • If you do not use the UNITNAME statement to specify the type, the unit type used for allocation is the system default unit.
  • If the STORCLASS statement is also specified, the SMS storage class might contain settings that override the UNITNAME type.
  • It is preferable that you do not use the UNITNAME statement if you are using an SMS storage class.
  • The UNITNAME can name a dynamic device.

Related topics