View previous topic :: View next topic |
Author |
Message |
an_si Beginner
Joined: 23 Sep 2005 Posts: 1 Topics: 1 Location: Bangalore
|
Posted: Fri Sep 23, 2005 11:24 pm Post subject: AUTOMATION |
|
|
Hi
I have a query,
While Monitoring the Production jobs when a job gets abended i need to capture the job in the Mainframe screen using VB script to throw the abended job in a message box. I have done with Macros to get the abended job, but still not able to fix how to throw the the abended job in a message Box.
Will someone help me in doing this?
 _________________ Siddharth - India |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Sat Sep 24, 2005 7:32 am Post subject: |
|
|
Quote: |
While Monitoring the Production jobs when a job gets abended i need to capture the job in the Mainframe screen using VB script to throw the abended job in a message box.
|
An_si,
1.Why do you need a VB script ?
2.What is a message box?
You can use SMTP to send the message. Click on the SEARCH icon at the top of this page and search for SMTP and you will find many examples.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Sun Sep 25, 2005 11:47 am Post subject: |
|
|
Kolusu,
I think, he is talking about screen scraping.
With SMTP, the only 'problem' that I see is, he would have to modify his jobs to have a step for sending mail. On the other hand, I am sure, there would be some facilities in the job scheduler that could automagically send mails, etc. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Sep 26, 2005 10:16 am Post subject: |
|
|
It all depends on what emulator he is using and what the screens look like. Personally I would use either PCOMM and EHLLAPI, or Vista with its simple and extremely easy VB like macro language. PComm also supports VB script, I think, but I've never used it. Other options include HACL (PCOMM and HOD), and I'm sure many other emulators have programmable interfaces. I run a robot against SDSF to kill certain things using this technique (Vista) and have been running a daily report screen scaping app for years using EHALLAPI on PCOMM (via object Rexx). |
|
Back to top |
|
 |
|
|