IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Downloading the job output from SAR using SARBCH


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Feb 17, 2010 11:14 am
Reply with quote

Hi,

I have a cyclical job that executes every hour. I want to unload the job output for each job each day from SAR.

As per my understanding goes, we cannot get the unload based on the date but instead we are to use GEN and SEQ.

Can you please help me understand how can I use SARBCH to get the unloads as per my requirement.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Feb 17, 2010 12:26 pm
Reply with quote

Hi,

I got a way in which I am able to get this....

I am required to use the control card as shown below:
/PRINT ID=JOBNAME,COPIES=1,DDNAME=OUTFL01,GEN=-1,SEQ=1
/PRINT ID=JOBNAME,COPIES=1,DDNAME=OUTFL02,GEN=-1,SEQ=2
/PRINT ID=JOBNAME,COPIES=1,DDNAME=OUTFL03,GEN=-1,SEQ=3


I think this is a robust idea... Any suggestion to improve this will be of immense help.

Thanks
Back to top
View user's profile Send private message
adutta24

New User


Joined: 07 Aug 2007
Posts: 13
Location: London

PostPosted: Tue Jun 08, 2010 6:27 pm
Reply with quote

can i have the fulll job for this
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jun 08, 2010 7:51 pm
Reply with quote

Abhishek, there are plenty of examples here of SARBCH jobs. Here's a few:

www.ibmmainframes.com/viewtopic.php?t=44858
www.ibmmainframes.com/viewtopic.php?t=45189
www.ibmmainframes.com/viewtopic.php?t=39159
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 08, 2010 8:11 pm
Reply with quote

adutta24 wrote:
can i have the fulll job for this

Why search when you can just ask icon_rolleyes.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to turn off 'ACTION' SDSF output ... TSO/ISPF 2
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
Search our Forums:

Back to Top