Re: Netview & SA



A simpler way to do this is to just edit the SA message table to trap
your messages and execute whatever commands or clist you want.

In this case, CICS DFH* msgs are trapped and the clist KIXDOFEM is
executed by auto operator AUTCINT.

IF (MSGID='DFHAP0001' | MSGID='DFHSM0103') & TEXT=MESSAGE
& MSGGDATE=DATE &MSGGTIME=TIME
THEN EXEC(CMD('KIXDOFEM ' DATE TIME MESSAGE) ROUTE(ONE AUTCINT))
DISPLAY(Y) BEEP(N) HOLD(N) NETLOG(Y) SYSLOG(Y)
CONTINUE(Y);
IF (MSGID='DFHSM0131' | MSGID='DFHSM0133') & TEXT=MESSAGE
& MSGGDATE=DATE & MSGGTIME=TIME
THEN EXEC(CMD('KIXDOFEM ' DATE TIME MESSAGE) ROUTE(ONE AUTCINT))
DISPLAY(Y) BEEP(N) HOLD(N) NETLOG(Y) SYSLOG(Y)
CONTINUE(Y);

The clist can extract the msg with
GETMLINE commands. this reads lines 2,3 4 of the msg and then the 4th
line is parsed and processed.
GETMLINE M2 2
GETMLINE M3 3
GETMLINE M4 4
PARSE ARG MSG
PARSE VAR MSG FILL JOB FILL2
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] On
Behalf Of arun kumar
Sent: Thursday, September 27, 2007 8:41 AM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Netview & SA

Dear Listers

I am quite new to automation using System Automation & Netview. I am
trying to implement a simple scenario for the sake of understanding
before I go to real implementation. What I want to implement is trap a
message like IEA631I and make the automation issue an MVS command D T.

For this I have setup Netview SSI address, Netview address and
Automation addresspace, all came up properly. I added an MVS component
and selected message processing as below,

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Access to Mainframes via Putty?
    ... implementing automation by programmed analysis of 3270 data streams in order ... time playing with NetView and, since I can still scan the manuals, I'll have ... VTAM commands in a number of start-up and failure situations. ... was no way to trap messages, the Clists wrote out instructions for the ...
    (bit.listserv.ibm-main)
  • Re: Netview & SA
    ... the clist receiving the msg cannot issue MSGREAD on it - the TEXT ... SA may very well pass automation requests from task to ... any function that is simple in NetView must be enclosed ...
    (bit.listserv.ibm-main)
  • Re: Netview & SA
    ... Arun is "new to automation" and he/she is trying, as far as I can judge since it is something with which I have never worked - but is supported by your response, to use a technique for building message automation table entries. ... Obviously my explanation has lost some precision but it helps to know how the variable assignment happens - and how bogus the variable assignment is as a comparison! ... Subject: Netview & SA ... this reads lines 2,3 4 of the msg and then the 4th ...
    (bit.listserv.ibm-main)
  • Re: How to delay until JES2 has finished startup
    ... JES2 becoming ... available was one of the key events during the automation logic. ... used message $HASP400 being picked up by the NetView "message ... and some homegrown SLEEP or DELAY commands. ...
    (bit.listserv.ibm-main)
  • Re: Automated shutdown
    ... Basically SyzCmdz does what the big ticket automation products from the ... The SyzCmdz utility is designed to provide the "authorized" user with the ... CICS, DB/2, or Unix System Services commands from within a batch job ... SyzCmdz is not simply a "dumb" scripting facility for issuing commands, ...
    (bit.listserv.ibm-main)