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
 

 

Can we take the joblog from SAR to a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Mon Oct 09, 2006 2:54 pm    Post subject: Can we take the joblog from SAR to a dataset
Reply with quote

Hi,

Can we take the joblog from SAR to a dataset just like we do xdc on a job from SDSF.

Could you please let me know if there is any way out?

Thanks
Back to top
View user's profile Send private message

syntelraj
Warnings : 1

New User


Joined: 28 Jul 2006
Posts: 10
Location: Pune

PostPosted: Mon Oct 09, 2006 7:22 pm    Post subject: Re: Job log from SAR
Reply with quote

Hi Prajeesh,
You can use the following job to copy the SAR dump to a XDC PDS.

//SARCOPY JOB (DIDRD,DEVL),
// 'SAR CPY JCL',
// MSGCLASS=T,
// CLASS=S,
// NOTIFY=&SYSUID,
// MSGLEVEL=(2,0)
//*
//PRC JCLLIB ORDER=MYPROC.PRC
//STEP1 EXEC PGM=SARBCH
//SYSPRINT DD SYSOUT=*
//MMBR1 DD DISP=(OLD,),
// DSN=ABC123.MYJOB.SAROUT <<== XDC PDS
//*
//SYSIN DD *
/DBASE NAME=SYSP.SAR4
/PRINT ID=MYJOBNM SEQ=12685 DDNAME=SAROUT <<== Member name
/*

Cheers,
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


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