Message interception during iSeries backup

65 pts.
Tags:
AS/400
iSeries
Our site (where I have been working just a few days) had a backup failure on the iSeries last night. An operator simply forgot to load the tape, but this resulted in the machine alerting the SYSOPR and waiting - all night - for a response. Since no one was around to answer the message, the backup didn't happen and the machine was unavailable when staff came in this morning. Without using a CL program with MONMSG commands embedded in it, how can this situation be handled? I'd love to implement the very neat looking Operational Assistant options for backup, but don't see any way for monitoring for messages that might arise. I might not be able to save the night's backup, but at least the system would be available the next day.

Software/Hardware used:
iSeries model 525

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: 8  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
  • TomLiotta
    What would you do if you caught a message? Hundreds of different messages might show up. -- Tom
    125,585 pointsBadges:
    report
  • ToddN2000
    Why not use a CL with a MONMSG?We had a similar issue here. Some batch jobs would halt after hours and stop the backups from running. All we did to resole was monitor for the messages and if the came up had the system send an e-mail message to the person responsible for the halt or backups so they could resolve it.
    9,885 pointsBadges:
    report
  • NickHutcheson1
    Get the message ID and change the reply list for that message. ADDRPYLE, CHGRPYLE to INZ the tape.  Problem is, that will always be the answer and you will get no second chances.  You could initialize a tape that should not have been initialized.  But, then, it should not have been in the tape drive to be used for the backup.Nick
    1,380 pointsBadges:
    report
  • TomLiotta
    Problem is, that will always be the answer and you will get no second chances.   It should only affect a job that has INQMSGRPY(*SYSRPYL) in effect when the message is sent. And it will only match if the comparison data matches the message data.   Control of those allows the choice of when the system reply list makes a difference.   Tom
    125,585 pointsBadges:
    report
  • jackli
    If you have no program to monitor the processing error from the night batch job ,I think it's a huge risk.You can use email or send a call by the modem to the duty guy to response the alert. For the night backup,we backup the data to a savf first,and then sbmjob to save the savf to tape, if the tape is not ready,you can reply the message in the second day.I think the way by savf is less mistake than directly save to the tape.
    95 pointsBadges:
    report
  • WoodEngineer
    To minimize the problem of the tape not loaded, we run a Job Schedule Entry job late in the work day that checks if a tape is loaded.  It warns if no tape is found.  This is just a the critical part of the code:CHKTAP DEV(&DEV) VOL(*MOUNTED) ENDOPT(*REWIND) MONMSG MSGID(CPF6760 CPF6772) EXEC(DO) /* NO TAPE + IN UNIT */ SNDBRKMSG MSG('** i5: No tape in drive or tape not + initialized **') TOMSGQ(&MSGQ1 &MSGQ2 + &MSGQ3 &MSGQ4) MONMSG MSGID(CPF0000) ENDDO It has saved our bacon a few times.
    6,510 pointsBadges:
    report
  • WoodEngineer
    Sorry . . .The code snippit posted differently than it appeared when I keyed it. Something else you might consider is SndTweet by Kisco.  We use it to send a tweet when an error message requiring a reply lands in QSYSOPR.  The cool thing about SndTweet is that we can respond to the message via Twitter.  Cost is very reasonable.  It application runs entirely on the i5 - no separate Wintel servers required.  
    6,510 pointsBadges:
    report
  • NickHutcheson1
    WoodEnginee, I like that approach.  Fix it before it happens. :-) 
    1,380 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