NEED REXX CODE FOR CAPTURING ABEND INSTRUCTION FROM SDSF

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
Captain Uday Prasad
Member
Posts: 4
Joined: Fri Oct 27, 2006 11:13 pm

NEED REXX CODE FOR CAPTURING ABEND INSTRUCTION FROM SDSF

Post by Captain Uday Prasad » Sat Oct 28, 2006 12:16 am

HOW TO CODE AN EXEC program WHICH WILL DO THE FOLLOWING:

1. The program will keep a watch on the jobs being run. When an ABEND OCCURS it will search the sdsf output screen and extract all the information about the abended job and write it down into a dataset.

3. The dataset then is downloaded automatically into the local pc as a word document and/ or an email is sent to the concerned owner.

I am working on an automation project and need to work on this rexx program in order to help my clients. Can someone help me please.


Captain Uday Prasad :?

User avatar
JACK
Member
Posts: 20
Joined: Mon Jan 30, 2006 6:18 am

REXX tool to copy abend job details.

Post by JACK » Thu Nov 02, 2006 5:32 pm

Hi Prasad,

If I am not wrong, you can do this using CA-7 tool. It will send
the e-mail/SMS when job abends.


Regards,
JACK.

Captain Uday Prasad
Member
Posts: 4
Joined: Fri Oct 27, 2006 11:13 pm

More information regarding REXX code that wll capture abend

Post by Captain Uday Prasad » Fri Nov 03, 2006 11:56 am

Dear Jack,

Thanks for your suggestion regarding usage of CA-7 tool for sending mails and SMS. Can you please key-in a few more infos on the same:

1.Which tool in CA-7 will do the needful? I mean is there any specific tool which will do that or do we need to know certain ca-7 commands which will do the needful. What are those commands?

2. Can we submit those commands (if any) in batch and set it on auto so that it monitors the jobs in SDSF/SSO and send the SMS and/or mail to the users after an ABEND occurs?

Thanks
Captain Uday Prasad

User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

Post by Krishna » Sat Nov 04, 2006 5:07 pm

Hi Uday,

my thoughts...

SDSF internally would store abend information in some datasets, if you can get access to it? then your program can read it on a periodic basis and report the abends?

Or if the jobs are put in SAR, then we need to look if SAR provides those interfaces


Regards,
Krishna

kannan499
Member
Posts: 3
Joined: Tue Nov 10, 2009 4:41 pm
Location: India

Post by kannan499 » Wed Nov 11, 2009 11:11 am

Hi,
SDSF internally would store abend information in some datasets
Can any one give information about the dataset name in which the SDSF information will be stored.

Thanks in advance :)

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others