Using the CONFCHG macro

You must code the following parameters on CONFCHG to request notification of dynamic I/O configuration changes in your installation:

If you no longer want to be notified of changes, you must cancel any notification requests by issuing CONFCHG CANCEL. If you plan to cancel notification requests, you must code the TOKEN parameter when you issue CONFCHG NOTIFY. The system then returns a token that you use when you code CONFCHG CANCEL. If your program terminates, you must cancel the notification request. If recovery is done through percolation, you must cancel each notification request separately.

See z/OS MVS Programming: Authorized Assembler Services Reference ALE-DYN for information on how to code the CONFCHG macro.