You can use asynchronous programs or administration commands to administer an application automatically. This can involve having parameters raised or lowered depending on load values or triggering responses to errors. For control purposes you can, for example, use an MSGTAC program and/or time-controlled jobs.
This is how application control using the MSGTAC program proceeds:
An event occurs in the application and generates a message.
The message is passed on to the MSGTAC program.
MSGTAC analyses the message and then initiates the appropriate operation.
Such operations can, for instance, include calling the KDCADMI program interface, calling an administration command or starting an asynchronous administration program (FPUT/DPUT), which executes further administration tasks.
Instead of the MSGTAC program it is also possible to use a program to which a TAC is assigned that is defined as an additional message destination (KDCDEF statement MSG-DEST).
If you are using WinAdmin or WebAdmin as your administration tool, you can also use it to execute scripts or start programs when particular events occur, for instance when a threshold value is exceeded.
Another possible form of automatic administration is to have statistical data queried at regular intervals and to trigger the appropriate responses.
Diagnostic activities are yet another potential application. For certain events you can, for example, activate test mode, generate traces, create UTM dumps or have data supplied to the openSM2 event monitor.