Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Description z/OS MVS Programming: Authorized Assembler Services Reference ALE-DYN SA23-1372-00 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Use the CONFCHG macro to request notification about dynamic changes
in the I/O configuration in your installation. When you invoke CONFCHG
with the NOTIFY parameter, you specify whether you want to be notified
about one of the following:
When you invoke CONFCHG with the CANCEL parameter, you specify that you no longer want to be notified of changes. You must cancel your NOTIFY request when you no longer want to receive notification. When you invoke CONFCHG with NOTIFY, you must specify a user-written configuration change exit routine (EXIT parameter). To determine when the exit routine will receive control, you code either the CHGREQ or CHGCOMPL parameter. When an ACTIVATE command is issued, the system ensures that the devices to be deleted are off-line and unallocated. If the activate request has passed this validation step and an authorized program issues CONFCHG CHGREQ, the system passes control to the exit routine. When a requested activation change is rejected, the system also passes control to the exit routine. If the program issues CONFCHG CHGCOMPL, the system passes control to the exit routine when a dynamic I/O configuration change completes successfully. When the configuration change exit routine receives control, general purpose register (GPR) 1 contains the address of a parameter list. The parameter list contains information about the change that occurred, such as the specific device that is being added, modified, or deleted. See z/OS MVS Programming: Authorized Assembler Services Guide for complete information on coding the configuration change exit routine. EnvironmentThe requirements for the caller are:
RestrictionsNone. Register informationAfter the caller issues the macro, the system might use some registers as work registers or might change the contents of some registers. When the system returns control to the caller, the contents of these registers are not the same as they were before the macro was issued. Therefore, if the caller depends on these registers containing the same value before and after issuing the macro, the caller must save these registers before issuing the macro and restore them after the system returns control. When control returns to the caller, the general purpose registers
(GPRs) contain:
When control returns to the caller, the access registers (ARs)
contain:
Programming requirementsThe caller of CONFCHG must ensure that the configuration change exit routine resides in common storage. Before coding CONFCHG with the EXIT parameter, the caller must set to 1 the high-order bit of the exit routine's address. Performance implicationsNone. SyntaxThe standard form of the CONFCHG macro is written as follows:
ParametersThe parameters are explained as follows:
Return codesWhen control returns from CONFCHG, GPR 15 (and rc addr, if you coded RETCODE) contains one of the following return codes:
Example 1Issue the CONFCHG macro so that the user exit, CHGEXIT, gets control
when a configuration change completes.
Example 2Use the CONFCHG macro to indicate the user exit, CHGEXIT, should
not be called after configuration changes.
|
Copyright IBM Corporation 1990, 2014
|