Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us