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
 

 

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 finding delayed job/s in OPC jzhardy IBM Tools 0 Mon May 29, 2017 9:04 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am


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