JCLAM0238S (JCLAM0238E) Invalid data type for ALTER dataset

A duplicate record error has been generated. The specified ALTER command is not appropriate for this dataset type.

Resolution:

Apply the changed property to the appropriate dataset type.

Example

For example, it is not possible to ALTER the MGMTCLASS for a VSAM ALTERNATE INDEX. Instead, you need to apply the changed MGMTCLASS to the CLUSTER and then it is propagated to all elements.