Previous Topic: ParametersNext Topic: DELETE:  Deleting DB2 Records


Examples

This command shows how to change the OPTS record for the PROD subsystem. This example changes the database protection in the record to log and permits but logs attempts to use databases.

CHANGE OPTS SYSID(PROD) DBSMODE(LOG) REP

The next example deletes the DB2PRE field value from the EXITS record for all SYSIDs.

CHA EXITS MSYS(‑) DEL DB2PRE()

The next example shows the change in the SAFELIST.PLN record to reflect a new resource name.

CHA SAFELIST.PLN SYS(PROD) RESOURCE(PLAN1) REP