MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Save jobs SYSOUTs from SAR to sequential dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Anit1
Beginner


Joined: 20 Jul 2003
Posts: 4
Topics: 3
Location: India

PostPosted: Wed Aug 20, 2003 11:15 pm    Post subject: Save jobs SYSOUTs from SAR to sequential dataset Reply with quote

Hi,

Is there a way to run REXX programs on SYSOUTs in SAR? If not possible to execute REXX programs on SYSOUTs in SAR, could you provide any other solution for this.

I have written REXX programs to perform some action on SYSOUTs of all jobs. This I am able to do when the SYSOUTs are saved in sequential dataset. How can I do in SAR. Is there a way to save all those SYSOUTs which are saved in SAR to a Sequential dataset?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Thu Aug 21, 2003 5:46 am    Post subject: Reply with quote

Anit1,

try this

Code:

//STEP10   EXEC PGM=SARBCH
//SYSPRINT DD SYSOUT=*
//LISTOUT1 DD DSN=HLQ.userid.SARC,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,
//            SPACE=(CYL,(X,Y,),RLSE),
//            DCB=(LRECL=133,BLKSIZE=0,RECFM=FBA)
//SYSIN DD *
/DBASE NAME=YOUR SAR DATASET NAME
/LOAD ID=XXXXX GEN=4352 DDNAME=LISTOUT1 SEQ=2286
//*



Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Thu Aug 21, 2003 6:30 am    Post subject: Reply with quote

Kolusu,
I guess Anit1 wanted a REXX solution. Converting this job to REXX is already an open debate, posted by me in the REXX forum to which nobody has replied. If anybody has done it, please reply.

Cheers,
Coolman.
________
vaporgenie vaporizer


Last edited by coolman on Sat Feb 05, 2011 1:26 am; edited 1 time in total
Back to top
View user's profile Send private message
blitz
Beginner


Joined: 24 Dec 2002
Posts: 28
Topics: 4

PostPosted: Thu Aug 21, 2003 8:04 am    Post subject: Reply with quote

the SARBCH is very new to me. Is there any documentation available online ?
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Aug 22, 2003 3:03 am    Post subject: Reply with quote

coolman,

can you provide link to the post you have raised in REXX?
Back to top
View user's profile Send private message Send e-mail
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri Aug 22, 2003 3:24 am    Post subject: Reply with quote

Diba,

Here it goes....

http://www.mvsforums.com/helpboards/viewtopic.php?t=1070

I have also tried doing a direct call, say
CALL 'SAR.LOADLIB(SARBCH)', but again it comes out with a S047 abend (an unauthorised program trying to execute a SVC)

Cheers,
Coolman.
________
V5
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group