Deploying maintenance to agents
Use the following procedures to apply maintenance to the agents that run within the DBC and to DBC.
To apply maintenance for agents
Use this procedure to apply maintenance to the agents that run within the DBC:
- Issue the following console command on the LPAR where the DBC started task running:
/ssid DBC,DISP,DSNS
ssid is the DBC subsystem identifier. - Review the output in the DBCPRINT DD in the active DBC started task.
In the DISP,DSNS display, any data sets labeled as PRODUCT come from LOADLIB values in the pppvvrm member (where ppp is the 3-character product code and vvrm is the version, release, and maintenance level of the product being installed) or from EXEC-LOADLIB values in the pppOPTS member located in the DBCENV data set for this DBC.
If you have defined alias names for the EXEC-LOADLIB values, look for the “Objects Using DSNs” section of the DISP,DSNS output to see which DBCagents are using that data set or alias. Those agents will need to be stopped before redefining the alias to the new data set name. - Review the PTFs that are being applied to determine which FMIDs will be affected.
- Based on how you organized your runtime load libraries in the installation, cross-reference these lists with Changing-references-to-the-product-load-library to determine which agents will need to be refreshed.
Perform one of the following actions:
- If the DBC is using a data set or alias identified in the output from the DISP,DSNS command issued in step 1, stop the DBC.
If you did not stop the DBC, issue the STOP command for each agent that is receiving new maintenance.
The following table lists commands to stop agents. The ssid value represents the identifier of the DBCsubsystem.
To stop agent
Issue this console command
BRD
/ssid BRD,STOP
DOM
/ssid DOM,STOP
GUD
/ssid GUD,STOPALL
LGC
/ssid LGC,STOP
NGL
/ssid NGL,STOP,piid
The piid value identifies the NGL ID.
MVL
/ssid MVL,STOP
Copy the changed members from your target zone to your runtime libraries, observing the following guidelines:
- If you have an alias defined to your runtime load library and you typically copy new maintenance to a second load library, delete the alias from the old library and define it to the new library.
- If you apply maintenance to a new set of libraries and want to use them in place of the current runtime data sets, follow the instructions in Changing-references-to-the-product-load-library.
- If you are using LINKLIST instead of LOADLIB elements or the DBC STEPLIB, issue the LLA REFRESH command.
- If you are going to start the any BRD, DOM, or GUD agents, issue the DBC,EXEC,LGC command.
Issue the following commands for each agent that is receiving new maintenance and that was previously stopped.
The ssid value represents the identifier of the DBC subsystem.To start agent
Issue this console command
Comments
BRD
/ssid DBC,EXEC,BRD
Issue the DBC,EXEC,LGC command before starting the BRD, DOM, or GUD agent.
DOM
/ssid DBC,EXEC,DOM
Issue the DBC,EXEC,LGC command before starting the BRD, DOM, or GUD agent.
GUD
/ssid DBC,EXEC,GUD
Issue the DBC,EXEC,LGC command before starting the BRD, DOM, or GUD agent.
LGC
/ssid DBC,EXEC,LGC
None.
MVL
/ssid DBC,EXEC,MVL
None.
To apply maintenance to the DBC
- Ensure that all users have been notified of the maintenance window.
Stop the DBC started task by using the following console command, where ssid is the DBC subsystem ID:
p ssid
Copy the changed members from your target zone to your runtime libraries.
- If you have an alias defined to your runtime load library, and you typically copy new maintenance to a second load library, you must delete the alias from the old library and define it to the new library.
- If you apply maintenance to a new set of libraries and want to use them in place of the current runtime data sets, edit the DBC$STC PROC and change the STEPLIB to point to the new runtime data sets.
- If you are using LINKLIST instead of <LOADLIB> elements issue the LLA REFRESH command.
Start the DBC started task by issuing the following console command, where dbcproc is the name of the DBC$STC started task member in your PROCLIB:
s dbcproc
Related topic