Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Finding number of jobs in SAR

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
honestsoul

New User


Joined: 05 Nov 2008
Posts: 23
Location: delhi

PostPosted: Sat Jan 10, 2009 11:18 am    Post subject: Finding number of jobs in SAR
Reply with quote

Hi frnds,
I wanted to calculate number of jobs present in SAR,
like i gave WGT0* , then more than 500 jobs with wgt0--- comes can i get directly a count of the number of jobs for wgt0* using rexx or any macro?

Thanks in advance.
Back to top
View user's profile Send private message

Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Fri Jan 23, 2009 10:50 pm    Post subject: Reply to: Finding number of jobs in SAR
Reply with quote

Two options;

1) You can execute the SARBCH utility with input of
LIST SYSOUT=WGT0*

That will generate a listing which you can put into a datset for further manipulation

2) You can investigate and experiment with the CA-GSS/REXX Interface

"SARBCH includes the CA-View host command environment to CA-GSS. This host command environment is accessed by the ADDRESS CA-View GREXX instruction.
The commands processed by the CA-View host command environment are the same as those that can be specified on the SYSIN control statements that are processed by SARBCH.
The report listing and messages issued by the command environment are queued for processing by the GREXX exec. The messages issued are the same messages that are issued by SARBCH. The report listings produced are the same as the report listings produced by SARBCH."

See Ca-View System Reference Guide, Page 9-2 onward...

Cheers.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us