View previous topic :: View next topic |
Author |
Message |
meetrb Beginner
Joined: 24 Nov 2003 Posts: 40 Topics: 15
|
Posted: Sun Apr 03, 2005 9:02 am Post subject: Get Job log for a particular date using SARBCH |
|
|
Hi,
I am using the following JCL to get Job log information using SARBCH
//************************************************
//STEP1 EXEC PGM=SARBCH,PARM='SAR.P'
//************************************************
//SYSPRINT DD SYSOUT=*
//LISTOUT1 DD DSN=SIHS135.SARC,
// DISP=(,CATLG,DELETE),
// SPACE=(CYL,(10,10),RLSE),
// DCB=(LRECL=151,BLKSIZE=0,RECFM=FBA)
//SYSIN DD *
/PRINT ID=BDLXXXXX GEN=6786 DDNAME=LISTOUT1 SEQ=6022
/*
//
I have the following questions:
1. I want to know is if I can provide the run date as input to the JCL instead of generation and seqeunce and get the same job log information.
I found this post
http://www.mvsforums.com/helpboards/viewtopic.php?t=33&highlight=sarbch
which talks about saving the index and then using the SORT utility to extract specific columns. I want to know if this step can be directly done using SARBCH.
2. Can anyone provide me with list pf parameters that can be used with the SARBCH program.
Regards,
Meetrb |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
meetrb Beginner
Joined: 24 Nov 2003 Posts: 40 Topics: 15
|
Posted: Mon Apr 04, 2005 11:34 pm Post subject: |
|
|
Hi Kolusu,
Thanks for the update.
However I am working on a client mainframe and therefore cannot request for a manual like you mentioned. Is there any other way in which i can get a list of options for SARBCH.
Meetrb |
|
Back to top |
|
|
Madhusudhanan Beginner
Joined: 25 Feb 2005 Posts: 7 Topics: 1
|
Posted: Wed Apr 06, 2005 6:05 am Post subject: |
|
|
Hi meetrb,
Actually we can not pass the date as a parameter to SARBCH.So what we can do is we have to list the details of the job for all the dates .That listing will have the seq numbers and dates .After that with the help of some rexx routine we can take the seq number that we wanted for a particular date and we can again call SARBCH program with that seq number to view the sar details.We are using the rexx rotuine to view the sar details with input as job name and date .If you want that I will send you
Thanks,
Madhu _________________ KOKES |
|
Back to top |
|
|
|
|