View previous topic :: View next topic |
Author |
Message |
Anit1 Beginner
Joined: 20 Jul 2003 Posts: 4 Topics: 3 Location: India
|
Posted: Wed Aug 20, 2003 11:15 pm Post subject: Save jobs SYSOUTs from SAR to sequential dataset |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Thu Aug 21, 2003 5:46 am Post subject: |
|
|
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 |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Thu Aug 21, 2003 6:30 am Post subject: |
|
|
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 |
|
 |
blitz Beginner

Joined: 24 Dec 2002 Posts: 28 Topics: 4
|
Posted: Thu Aug 21, 2003 8:04 am Post subject: |
|
|
the SARBCH is very new to me. Is there any documentation available online ? |
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Aug 22, 2003 3:03 am Post subject: |
|
|
coolman,
can you provide link to the post you have raised in REXX? |
|
Back to top |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Fri Aug 22, 2003 3:24 am Post subject: |
|
|
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 |
|
 |
|
|