DATACLASS (FTP client and server) statement
Use the DATACLASS statement to specify the SMS-managed data class as defined by your organization for the FTP server.
- 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
Parameters
- class
- The SMS-managed data class as defined by your organization. There is no default.
Examples
Use the SMS data class SMSDATA
when allocating new data sets:
DATACLASS SMSDATA
Results:
- If you code any of the following FTP.DATA statements or let FTP
assign them default values, the configured values or default values
override the values specified in the SMS DATACLASS:
- BLKSIZE
- DIRECTORY
- LRECL
- PRIMARY
- RECFM
- RETPD
- SECONDARY
Guideline: To prevent these statements from overriding the values specified in the SMS DATACLASS, perform one of the following actions:- Code the statements with no parameters.
- For client allocations, use the LOCSIte subcommand to configure these options with no values before allocating a new data set.
- For server allocations, use the SIte subcommand or the server SITE command to configure these options with no values before allocating a new data set.
- If you code the following statements in FTP.DATA with the default
value or let FTP assign the default value, FTP will use the value
in the SMS DATACLASS.
- DNSTYPE
- EATTR
If the SMS DATACLASS does not specify the value, FTP will use the system default.
Guideline: To override the SMS DATACLASS value and the system default value, perform one of the following actions:- Code statements in FTP.DATA with the values that you want.
- For client allocations, use the LOCSIte subcommand to configure the values that you want.
- For server allocations, use the SIte subcommand or the server SITE command to configure the values that you want.
- The PDSTYPE FTP.DATA statement has no default values. If you code
this statement in FTP.DATA with parameters, the configured value overrides
the value specified in the SMS DATACLASS. Guideline: To prevent this statement from overriding the value specified in the SMS DATACLASS, perform one of the following actions:
- Code the statement with no parameter.
- Remove the statement from FTP.DATA.
- For client allocations, use the LOCSIte subcommand to configure this option with no value before allocating a new data set.
- For server allocations, use the SIte subcommand or the server SITE command to configure this option with no value before allocating a new data set.
- If you specify the DCBDSN statement, the LRECL, RECFM, BLKSIZE,
and RETPD (if specified) of the DCBDSN data set override the values
specified in the SMS DATACLASS. Guideline: To prevent the DCBDSN values from overriding the values specified in the SMS DATACLASS, perform one of the following actions:
- Code statements in FTP.DATA for LRECL, RECFM, BLKSIZE, and RETPD with no keyword values.
- For client allocations, use the LOCSIte subcommand to configure these options with no values before allocating a new data set.
- For server allocations, use the SIte subcommand or the server SITE command to configure these options with no values before allocating a new data set.
- If you specify the MGMTCLASS statement and the requested management class specifies a retention period, the RETPD value of the management class might override the RETPD value of DATACLASS.
Related topics:
- BLKSIZE (FTP client and server) statement
- DCBDSN (FTP client and server) statement
- DIRECTORY (FTP client and server) statement
- DSNTYPE (FTP client and server) statement
- EATTR (FTP client and server) statement
- LRECL (FTP client and server) statement
- MGMTCLASS (FTP client and server) statement
- PDSTYPE (FTP client and server) statement
- PRIMARY (FTP client and server) statement
- RECFM (FTP client and server) statement
- RETPD (FTP client and server) statement
- SECONDARY (FTP client and server) statement
- STORCLASS (FTP client and server) statement
- See the information about storage management subsystem (SMS) in z/OS Communications Server: IP Configuration Guide for more information about specifying attributes when allocating new data sets.