-
Nachricht ins BRMS-Log senden?
Ich meine ich habd as schon mal hingekriegt, daß eine Nachricht auch in DSPLOGBRM auftaucht. Eben das möchte ich nochmal hinkriegen, aber mir fällt es nicht mehr ein.
BTW, wie/wo ist definiert, welche Nachrichten von BRMS an QSYSOPR gehen und welche von QSYSOPR ins BRMSLOG?
-
Ich habs wieder gefunden.... Das Kommando heißt QBRM/ZRMLOG ;-)
Wobei meine beiden anderen Fragen natürlich noch offen sind ^^ :-)
-
Send BRMS Messages to Additional Message Queue
Technote (troubleshooting)
Problem(Abstract)
This feature allows the user to identify which messages to be sent to a specific message queue when BRMS adds the message to the BRMS log (DSPLOGBRM).
Resolving the problem
The following PTFs have added the ability to send specific BRMS messages to an additional message queue:
v5r3m0 SI33971
v5r4m0 SI33974
v6r1m0 SI33975
This feature allows the user to identify which messages are to be sent to a specific message queue when BRMS adds the message to the BRMS log ( DSPLOGBRM).
To view the current settings:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')
To set the message queue:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*MSGQ' 'libname' 'objname')
For example:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*MSGQ' 'QSYS' 'QSYSOPR')
To insert a rule:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*INSERT' 'xxx' 'yyyy' 'zzzzzzz')
where:
xxx - position (1, 2, 35, etc) to insert the rule
yyyy - *INC include the message, *EXC exclude the message
zzzzzzz - message ID, generic message ID or *ALL to be included or excluded
To replace a rule:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*REPLACE' 'xxx' 'yyyy' 'zzzzzzz')
where:
xxx - position (1, 2, 35, etc) to replace the rule
yyyy - *INC include the message, *EXC exclude the message
zzzzzzz - message ID, generic message ID or *ALL to be included or excluded
To remove a rule:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*REMOVE' 'xxx')
where:
xxx - position (1, 2, 35, etc) to replace the rule
To clear all rules:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*CLEAR')
Rules are processed in order. Messages being sent to the BRMS log are compared against each rule, and a determination is made whether to send the message to the external message queue.
For example:
The following rules indicate that all BRM messages except BRM1097, and all CPI messages except CPI0307, will be sent to message queue QSYS/QSYSOPR:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')
MESSAGE QUEUE: QSYS/QSYSOPR.
1 *INC BRM*.
2 *EXC BRM1097.
3 *INC CPI*.
4 *EXC CPI0307.
The following rules indicate that all BRM messages except BRM1097, all CPI messages except CPI0307 and all other messages, will be sent to message queue QSYS/QSYSOPR:
CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')
MESSAGE QUEUE: QSYS/QSYSOPR. 1 *INC BRM*.
2 *EXC BRM1097.
3 *INC CPI*.
4 *EXC CPI0307.
5 *INC *ALL
Additional notes:
Generic rules can be created. For example, BRM*, *ALL, CPF9* etc are all valid generic rules.
Anything after the '*' is ignored, i.e. CP*1000 is the same as CP*
All messages sent to the specified message queue will be sent as *INFO messages.
If the specified message queue is being saved while BRMS is attempting to send a message to it, the backup may fail.
User profile QBRMS must have authority to send messages to the specified message queue
Messages logged in the additional message queue will be sent from program Q1ARALG when using the above method.
WRKPCYBRM *SYS opt 6, to change notification controls, can also be used to used to send DSPLOGBRM messages of or exceeding the specified message severity to the notification message queue listed. Messages logged in the notification message queue for meeting the message severity are sent from program Q1ACALG.
Related information
BRMS Wiki: Send BRMS Messages to Additional Message Que
-
Sehr toll! Coole Informationen.
samsung galaxy s6 etui
Similar Threads
-
By svit in forum IBM i Hauptforum
Antworten: 10
Letzter Beitrag: 22-05-15, 13:30
-
By Kent in forum IBM i Hauptforum
Antworten: 14
Letzter Beitrag: 29-10-14, 11:19
-
By nico1964 in forum IBM i Hauptforum
Antworten: 2
Letzter Beitrag: 27-11-13, 19:14
-
By oulbrich in forum NEWSboard Programmierung
Antworten: 0
Letzter Beitrag: 18-11-13, 08:52
-
By heynem in forum IBM i Hauptforum
Antworten: 3
Letzter Beitrag: 27-03-03, 12:14
Tags for this Thread
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks