Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

REXX to extract information from SDSF - Query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
marisalondon

New User


Joined: 21 Aug 2009
Posts: 10
Location: London

PostPosted: Mon Nov 09, 2009 9:21 am    Post subject: REXX to extract information from SDSF - Query
Reply with quote

Hi,

We are working on a REXX to extract the information displayed in SDSF. We have managed to retrieve the RC using RETCODE.
We use prefix with jobname and filter with jobid.
The REXX appears to work for a small number of jobs (around 20) but fails at this point without explanation - it doesn't crash but it does not return the expected RC, although we can see the job in SDSF.
We logged out of the system (TSO) and we rerun it to read the output of 150 jobs, this fails around 70. We need this REXX to capture the RC for 1200 jobs.

Could anyone help us identifying why this is failing since the REXX appears to be correct from logical perspective.

Thanks,
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Nov 09, 2009 9:30 am    Post subject:
Reply with quote

Hello,

Could you run a trace and see what is actually happening?
Back to top
View user's profile Send private message
marisalondon

New User


Joined: 21 Aug 2009
Posts: 10
Location: London

PostPosted: Mon Nov 09, 2009 9:59 am    Post subject:
Reply with quote

Hi Dick,

Thanks for your fast response and suggestion. We will running with trace. In the meantime, we are also investigating about an APAR to fix this issue - have you heard of it?

I'll keep you posted.

Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Nov 09, 2009 2:44 pm    Post subject:
Reply with quote

So you are looking for the return codes in SDSF using REXX.

Why, oh why, does everyone want to reinvent the wheel in REXX.

This information is almost certainly already available from your performance and capactity team, and with probably little or no effort thay can produce a report of exactly what you want.

Why not talk to them before investing hours and hours or days and days on getting what already is available.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us