View previous topic :: View next topic
|
Author |
Message |
marisalondon
New User
Joined: 21 Aug 2009 Posts: 10 Location: London
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Could you run a trace and see what is actually happening? |
|
Back to top |
|
|
marisalondon
New User
Joined: 21 Aug 2009 Posts: 10 Location: London
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|