How can we add monitoring of messages in SDMC and send emails to particular group?

285 pts.
Tags:
AS/400 administration
iSeries administration
Hi, How can we add monitoring of messages in SDMC and send emails to particular group. for example...CPI1468(System job tables nearing capacity) and system threshold. Thank you, GK

Software/Hardware used:
V7R1

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Anu143
    Create a user space with module "CrtUsrSpc" (source has been included below). Run API "QUSLJOB" to return information of iSeries job. use any format name "JOBL0200" to retrieve "job status" and "subsystem". Job status has "key of field = 0101" and subsystem "key of field = 1906". Run API "QUSRTVUS" to get user space attribute - starting position of information - number of entries (number of jobs) Run a loop to retrieve information on all jobs that have been loaded in the user space -- one loop for one job. First, run API "QUSRTVUS" to retrieve information about one job. This information has been retrieved in data area ". Second, retrieve "key fields" in and loop. Key field 0101 = job status Key field 1906 = subsystem Third, if the job has status *MSGW and e-mail is sent to an Administrator. crtrpgmod module(yourlib/crtusrspc) = create user space (source included in prior mail) crtrpgmod module(yourlib/nkvr4292) = mail program crtpgm pgm(yourlib/nkvr4292) module(yourlib/nkvr4292 yourlib/crtusrspc) actgrp(nkv)
    525 pointsBadges:
    report
  • Anu143
    Google for the Api I had given..you will get the code for the same ... anu
    525 pointsBadges:
    report
  • TomLiotta
    The previous comments must have been added to the wrong thread since they don't seem to have any relationship to your question. . For your question, first please tell us what "SDMC" is. If we don't know what you are asking about. it is difficult to know a good answer. . Next, we can't tell you how to send e-mail unless you tell us how your system has been configured for e-mail. . Finally, for message monitoring, you should review Management Central message monitors. In System i Navigator, open the Help function. Drill down into Management Central-> Monitors-> Monitors-> How do I...-> Message monitors-> Create a new message monitor. . There are related topics around that one. If you have difficulty with any part, post back here. . Tom
    125,585 pointsBadges:
    report
  • venkatktata
    We have 5 admin users, So We need to get an email when system will reach threshold or system jobtable nearing capacity. For that how to monitor the messages, and when it reaches the error point How to send mails to a group.
    285 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following