ATTRIB Command
ATTRIB Command
ATTRIB command is used to display or modify the attributes of a dataset or a member of a partitioned dataset.
Syntax -
ATTRIB [dataset-name(member-name)] [options]
Where -
- dataset-name(member-name) is the name of the dataset or member whose attributes you want to display or modify.
- Options are optional parameters that you can use to customize the display or modify the attributes.
Examples -
Scenario1 - Change the dataset BLKSIZE to 1600.
ATTRIB REPORT BLKSIZE(1600)

This would change the REPORT dataset BLKSIZE to 1600. REPORT is the FILE name of 'MATEPK.TSO.TESTPS' which is assigned while allocating the dataset.