IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we take the joblog from SAR to a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top