MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AUTOMATION

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
an_si
Beginner


Joined: 23 Sep 2005
Posts: 1
Topics: 1
Location: Bangalore

PostPosted: Fri Sep 23, 2005 11:24 pm    Post subject: AUTOMATION Reply with quote

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?
Rolling Eyes
_________________
Siddharth - India
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Sat Sep 24, 2005 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Sun Sep 25, 2005 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Sep 26, 2005 10:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group