How to check that tapes are availables in BRMS on i5 (iSeries) in ITM?
Solution:
I had to find out how to check available tapes on i5, by the command.
I have to use a command: CHKEXPBRM.
How to do it in ITM?
1. I build first situation "WOW_MS_RunCmd2_BCK_CHKEXPBRM" on Enterprise (TEMS) which run at exactly time a day and run an action
"CHKEXPBRM EXPMED(4) MEDCLS(CLS_ULTR6) LOC(TAPMLB01)" on agent (distribution - i5).
This situations expire after 24 minutes.
2. Next, I build second situation on i5 (distribution) which have a 4 conditions:
- Message Queue - it contains: "KMSOMLOG"
- Message Queue Library - it contains: "QAUTOMON"
- ID - it contains: "CNB7008"
- Data - it contains: "Action returned with status 4 for situation WOW_MS_RunCmd2_BCK_CHKEXPBRM"
This second situation check the result of command execution caused in first situation.
This situations expire after 25 minutes.
---
If you like this or not - please write any comments below, thanks:)
or if you have any questions please send me email. I'll try to explain more.
---
Links:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_61/cl/chkexpbrm.htm