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
 

 

Only Jobs with CC 0000 in spool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Only Jobs with CC 0000 in spool
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: 1703
Location: Australia

PostPosted: Fri Nov 21, 2008 6:25 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Reply to: Only Jobs with CC 0000 in spool
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Thu Dec 18, 2008 1:43 pm    Post subject: Reply to: Only Jobs with CC 0000 in spool
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    Post subject:
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    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 How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am
No new posts Report output in Spool amitc23 JCL & VSAM 4 Tue Apr 26, 2016 4:32 pm


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