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

Only Jobs with CC 0000 in spool


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Fri Nov 21, 2008 5:51 am
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Nov 21, 2008 6:25 am
Reply with quote

Hi,

try
Code:
FILTER MAX-RC = 'CC 0000'



Gerry
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Fri Nov 21, 2008 6:58 am
Reply with quote

It served my pirpose thanks a lot.
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Fri Nov 21, 2008 8:53 am
Reply with quote

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
View user's profile Send private message
mainframeracf

New User


Joined: 27 Nov 2008
Posts: 5
Location: bangalore

PostPosted: Mon Dec 01, 2008 4:03 pm
Reply with quote

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
View user's profile Send private message
Kiranmayee

New User


Joined: 09 Jan 2008
Posts: 25
Location: India

PostPosted: Thu Dec 18, 2008 1:28 pm
Reply with quote

Hi mainframeracf,

Can you give me that REXX code which displays the return code of a job?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Dec 18, 2008 1:43 pm
Reply with quote

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
View user's profile Send private message
Kiranmayee

New User


Joined: 09 Jan 2008
Posts: 25
Location: India

PostPosted: Fri Dec 19, 2008 4:11 pm
Reply with quote

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
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 How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top