MGMTCLASS (FTP client and server) statement

Use the MGMTCLASS statement to specify the SMS management class to be assigned to newly allocated data sets.

Server
This setting applies when creating files on the server's system.
Client
This setting applies when creating files on the client's system.
One of the attributes obtained from the management class is the retention period setting. If you specify a management class, then the retention period is obtained from the management class. The value of the management class's retention period can be overridden.
  • If a data class (DATACLASS) is specified, the retention period in the data class can override it.
  • If a model data set (DCBDSN) is specified, its retention period overrides both the data class value and the management class value.
  • If you specify a value for RETPD statement, the value you specify overrides any data class setting, model data set value and any management class setting.

However, regardless of where the retention period value is obtained, when attempting to override the value set in the management class, the actual resulting retention period setting depends on the retention period limit defined in the management class. A management class is defined with a retention limit value as well as a retention period. If you attempt to override the management class's retention period, the override value must be within the retention period limit defined in the management class. Otherwise, the retention period used is the management class's retention limit value.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-MGMTCLASS--class--------------------------------------------><

Parameters

class
The SMS management class.

Examples

Set the SMS management class for new data sets to TCPMGMT:
MGMTCLASS TCPMGMT

Related topics