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: 4648
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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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