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
 
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

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