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
 

 

Downloading the job output from SAR using SARBCH

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Downloading the job output from SAR using SARBCH
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    Post subject:
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    Post subject:
Reply with quote

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

Moderator Team Head


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

PostPosted: Tue Jun 08, 2010 7:51 pm    Post subject: Reply to: Downloading the job output from SAR using SARBCH
Reply with quote

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

http://www.ibmmainframes.com/viewtopic.php?t=44858
http://www.ibmmainframes.com/viewtopic.php?t=45189
http://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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 08, 2010 8:11 pm    Post subject:
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    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 Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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