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 How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 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 Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm


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