MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Batch Reports in CA7

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
patnekar
Beginner


Joined: 27 Jan 2003
Posts: 41
Topics: 16

PostPosted: Tue Mar 16, 2004 10:55 am    Post subject: Batch Reports in CA7 Reply with quote

Hi,
Is it possible to schedule a job, which will report the job status in CA7.

In detail

I want the report for my jobs to have their current status at a given time

Sample

Job A :: complete
Job B :: waiting on Job X
Job C :: abend U1035

If anyone can give the details, it is very much appreciated.

Thanks
Puru
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Mar 16, 2004 11:40 am    Post subject: Reply with quote

Patnekar,
You can use CA-7'S SASSBSTR program for generating the desired reports.Here is a sample job which will give you the desired results.

Code:

//EXTRACT  EXEC PGM=SASSBSTR,PARM=1                       
//JOBLIB   DD  DSN=ca7.loadlib,DISP=SHR                                   
//UCC7CMDS DD  DSN=ca7.communications.data.set,DISP=SHR                   
//BATCHIN  DD  DSN=batch.input.data.set,DISP=SHR                           
//BATCHOUT DD  DSN=batch.output.data.set,DISP=SHR                         
//SYSOUT   DD  SYSOUT=*                                                   
//SYSPRINT DD  DSN=YOUR OUTPUT REPORT,
//             DISP=(NEW,CATLG,DELETE),
//             UNIT=SYSDA,                       
//             SPACE=(CYL,(5,1),RLSE),
//             DCB=(RECFM=FBA,LRECL=133,BLKSIZE=3990)
//SYSIN    DD  *
/LOGON   
LQ,JOB=JOB*                                                                   
/LOGOFF 


Change the Sysin parameters according to your needs. Let us you have 5 jobs in the pattern

PATJOB1
PATJOB2
PATJOB3
PATJOB4
PATJOB5

Then your sysin cards will be as follows
Code:

//SYSIN    DD  *
/LOGON   
LQ,JOB=PATJOB*
/LOGOFF 


This will extract all the records from ca-7 database which match the job name criteria (patjob*).

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group