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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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