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
 

 

To copy SAR information onto a dataset

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

New User


Joined: 19 Dec 2007
Posts: 7
Location: Chennai

PostPosted: Mon Dec 31, 2007 2:35 pm    Post subject: To copy SAR information onto a dataset
Reply with quote

I want to copy the list of jobs present in SAR for a cycle date onto a dataset. I knew that using SARBCH utility we can fetch the details of a particular job, but can we do it for a list of jobs that run for a particular date. Also I dont need the expanded view of the jobs, just need the job details with their return codes.

Regards,
Ramnath
Back to top
View user's profile Send private message

Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Wed Jan 02, 2008 12:18 pm    Post subject: Reply to: To copy SAR information onto a dataset
Reply with quote

I guess the PGM=SARBCH u can use for the requirement.

//STEP1 EXEC PGM=SARBCH
//SYSPRINT DD SYSOUT=*
//OUT1 DD DSN=YOUR.DATASET.TXT,DISP=(,CATLG,DELETE),
// UNIT=DISK,SPACE=(TRK,(300,50),RLSE),
// DCB=(RECFM=FBA,LRECL=153,BLKSIZE=27846)
//REPORT DD SYSOUT=*
//SYSIN DD *
/DBASE NAME=YOUR.SAR.DATABASE-NAME
/PRINT ID=SAR-REPORT.NAME,COPIES=1,DDNAME=OUTFILE


I haven't tried this...
Back to top
View user's profile Send private message
Ramnathdude

New User


Joined: 19 Dec 2007
Posts: 7
Location: Chennai

PostPosted: Wed Jan 02, 2008 2:17 pm    Post subject:
Reply with quote

Hi Prasanth,

Thanks for the reply.
In the jcl above PRINT ID takes only one jobname whose details would be obtained in an expanded format onto a dataset.

My requirement is where I need all the SAR job details for a particular date only with their jobid, return codes etc written onto a dataset.

Regards,
Ramnath
Back to top
View user's profile Send private message
scorp_rahul22
Currently Banned

New User


Joined: 06 Aug 2007
Posts: 42
Location: chennai

PostPosted: Fri Jan 04, 2008 1:55 pm    Post subject: Reply to: To copy SAR information onto a dataset
Reply with quote

these things can be modified while exporting from a table,
or while taking that input for SARBCH program
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Wed Feb 06, 2008 10:31 am    Post subject:
Reply with quote

Quote:
My requirement is where I need all the SAR job details for a particular date only with their jobid, return codes etc written onto a dataset.


u can use this in the sysin to achieve ur requirement

/DBASE NAME=your.db.name
/LIST GEN=0 ID=jobname PASSWORD=
Back to top
View user's profile Send private message
RajkumarL

New User


Joined: 05 Oct 2006
Posts: 4

PostPosted: Sat May 03, 2008 3:20 am    Post subject:
Reply with quote

you should use one contol card for each job like this

/LIST GEN=* ID=jobname1
/LIST GEN=* ID=jobname2
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 Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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