View previous topic :: View next topic
|
Author |
Message |
smaru
New User
Joined: 22 Oct 2008 Posts: 49 Location: India
|
|
|
|
To view the Jobs in Spool of desired combination, we use Jobname and owner. Along with these, is there a way to filter Jobs with Max cc 00.
To filter the Spool to show only Jobs with MAXCC 0000
Please suggest. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
try
Code: |
FILTER MAX-RC = 'CC 0000'
|
Gerry |
|
Back to top |
|
|
smaru
New User
Joined: 22 Oct 2008 Posts: 49 Location: India
|
|
|
|
It served my pirpose thanks a lot. |
|
Back to top |
|
|
smaru
New User
Joined: 22 Oct 2008 Posts: 49 Location: India
|
|
|
|
Can FILTER command be executed with ISFEXEC command
Like- ADDRESS SDSF "ISFEXEC FILTER MAX-RC 'CC 0000'"
I have tried this, but didn't work, Any suggesstions !!! |
|
Back to top |
|
|
mainframeracf
New User
Joined: 27 Nov 2008 Posts: 5 Location: bangalore
|
|
|
|
I have a sample code of REXX in which it will display the return code for the job. Here we have to enter the job id. It wil not display for 2 or more jobs. |
|
Back to top |
|
|
Kiranmayee
New User
Joined: 09 Jan 2008 Posts: 25 Location: India
|
|
|
|
Hi mainframeracf,
Can you give me that REXX code which displays the return code of a job? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Kiran,
Quote: |
Can you give me that REXX code which displays the return code of a job? |
What is your requirement?
The only way REXX can display the return code is by accessing the spool and getting the details of the job. It can be done using SDSF in batch.
Please explain your complete requirement. |
|
Back to top |
|
|
Kiranmayee
New User
Joined: 09 Jan 2008 Posts: 25 Location: India
|
|
|
|
Hi Aaru,
I need to list out the return code and also the timestamp of when the jobs started and ended.
Thanks,
Kiran. |
|
Back to top |
|
|
|