DSFA (Altering a data set)

Purpose
Change the attributes of a data set.
Usage notes
Data set attribute alteration parameters, as supported by Access Method Services, are provided with the exception of: EXCEPTIONEXIT, FILE, LOCK or UNLOCK, and NULLIFY. If the operation cannot be performed, Access Method Services messages are returned; for example, where a parameter is not applicable to the type of data set.
Options
None.
Figure 1. Syntax

1  DSFA DSNIN=dsname? ACCT=account? ADDVOL=volume? BUFSP=bufsp? BUFND=bufnd? BUFNI=bufni
1 BWO=TYPECICS
1 BWO=TYPECIMS
1 BWO=NO
2? CAT=catalog
2? CCSID=value
1 ECSHR=YES
1 ECSHR=NO
1 EMPTY=YES
1 EMPTY=NO
1 ERASE=YES
1 ERASE=NO
1 FILEDATA=TEXT
1 FILEDATA=BINARY
6? FREECI=n
6? FREECA=n
1 FRLOG=NONE
1 FRLOG=REDO
1 INH=YES
1 INH=NO
8? KEYLEN=n
8? KEYOFF=n
1 LOG=NONE
1 LOG=UNDO
1 LOG=ALL
9? LSID=logstream
9? LIMIT=n
9? MGMTCLAS=classname
9? NEWNAME=newname
9? OWNER=owner
9? RECAVG=n
9? RECMAX=n
9? REMVOL=volume
1 REUSE=YES
1 REUSE=NO
1 SCRATCH=YES
1 SCRATCH=NO
11? SHRREG=n
11? SHRSYS=n
11? STORCLAS=classname
11? STRNO=n
11? TO=date
1 UNIQUE=YES
1 UNIQUE=NO
1 UPDATE=YES
1 UPDATE=NO
1 UPGRADE=YES
1 UPGRADE=NO
1 WCHK=YES
1 WCHK=NO
DSNIN=dsname
The name of the data set whose attributes you want to alter.
Note: All the parameters you specify for the DSFA function are passed to the Access Method Services (AMS) ALTER command.

For more information about thes parameters, see DFSMS AMS for Catalogs, SC26-7394.