IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX to extract information from SDSF - Query


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Mon Nov 09, 2009 9:30 am
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Nov 09, 2009 2:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top