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 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
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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