CRTJOBD JOBD(QGPL/STARTADP)

JOBQ(QSYSNOMAX)

TEXT(’Start TEC adapter after IPL.’)

RQSDTA(’CALL QGPL/STRADPCL’)

3.Add an auto start job entry in QSYSWRK using the previous job description:

ADDAJE SBSD(QSYSWRK) JOB(TECAMSGQ) JOBD(QGPL/STARTADP)

This program runs at the start of QSYSWRK subsystem and ends quickly after doing the STRTECADP command.

Changing the AS/400 Startup Program

The system value QSTRUPPGM (startup program) contains the name of the program to execute after IPL. This program can be modified to add the starting of adapters.

1.Retrieve the code in the startup program:

RTVCLSRC PGM(QSYS/program-name) SRCFILE(QGPL/QCLSRC) SRCMBR(program-name)

2.Modify the source:

PGM

DCL VAR(&STRWTRS) TYPE(*CHAR) LEN(1) DCL VAR(&CTLSBSD) TYPE(*CHAR) LEN(20)

QSYS/STRSBS SBSD(QCMN) STRTCP

MONMSG MSGID(CPF0000)

QSYS/STRSBS SBSD(QSERVER) MONMSG MSGID(CPF0000)

STRTECADP EVTADP(ALERTADP)+

CFGFILE(’/QSYS.LIB/QUSRSYS.LIB/CFG_ALERT.FILE/ALRCFG.MBR’)

MONMSG MSGID(CPF0000)

DONE:

RETURN

CHGVAR VAR(&CPYR) VALUE(&CPYR)

ENDPGM

3.Create the program and put it in the QSYS library:

CRTCLPGM PGM(QSYS/program-name) SRCFILE(QGPL/QCLSRC) SRCMBR(program-name)

Note: The startup program runs under user profile QPGMR. By default, QPGMR does not have authority to the AS/400 alert adapter commands and programs. You must either grant QPGMR authority to the commands and programs (“Starting the Adapter” on page 27) or have the startup program adopt QSECOFR authority and be owned by

QSECOFR.

Multiple AS/400 Alert Adapters

To support another AS/400 alert adapter to monitor a different alert filter or another data queue within the same filter, create the following additional files:

vConfiguration file: Specifies the filter to monitor and data queue to monitor.

vCDS file: Defines new classes to match the alerts being monitored.

vBAROC file: Required if new classes are identified in the CDS file.

vRules file: Required if new rules are added.

36IBM Tivoli Enterprise Console: Adapters Guide

Page 48
Image 48
IBM Enterprise Console manual Changing the AS/400 Startup Program, Multiple AS/400 Alert Adapters, Qsecofr

Enterprise Console specifications

IBM Enterprise Console is a robust solution designed to centralize and streamline IT operational monitoring and management. As organizations increasingly rely on complex IT infrastructures, including cloud services, on-premise systems, and hybrid environments, the need for an effective monitoring tool has become paramount. IBM Enterprise Console addresses these needs by providing a comprehensive view of IT operations, enabling organizations to respond to incidents with agility and precision.

One of the key features of IBM Enterprise Console is real-time monitoring. The solution offers a single pane of glass through which IT teams can observe the performance of various systems and applications. This capability allows organizations to detect and respond to incidents promptly, minimizing downtime and ensuring that services remain available for end users. The console integrates seamlessly with multiple data sources, allowing for the aggregation of alerts, events, and logs from diverse IT environments.

Another significant aspect of IBM Enterprise Console is its automation capabilities. The platform supports automated workflows and incident management processes, helping to reduce the workload on IT teams. Automation not only enhances efficiency but also ensures consistency in incident response. By leveraging predefined rules and actions, organizations can standardize their operational protocols, leading to faster resolution times and improved service quality.

The IBM Enterprise Console utilizes advanced analytics and artificial intelligence to enhance operational insights. Machine learning algorithms can help identify patterns and anomalies in system performance, allowing organizations to anticipate potential issues before they escalate into critical incidents. This proactive approach to IT monitoring not only improves reliability but also fosters a culture of continuous improvement across the organization.

Security features are also integrated into the IBM Enterprise Console, allowing for the monitoring of security incidents alongside IT operations. This unified approach helps organizations to respond more effectively to security threats, enabling them to correlate operational and security data for a comprehensive view of their infrastructure.

In conclusion, IBM Enterprise Console stands out as a powerful tool for IT operations management. Its real-time monitoring, automation capabilities, advanced analytics, and integrated security features make it an ideal solution for organizations looking to enhance operational efficiency and responsiveness. By leveraging this technology, businesses can ensure that their IT environments remain stable, secure, and aligned with their strategic goals.