View previous topic :: View next topic
|
Author |
Message |
sasanka Warnings : 1 New User
Joined: 18 Jan 2008 Posts: 34 Location: India
|
|
|
|
Hi All,
I am trying to capture job execution sarlog into a flat file using below JCL:
//STEP01 EXEC PGM=SARBCH
//REPORT DD DSN=CS0186.SAR.JOBNAME.JAN08T,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYC,(3,3),RLSE),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=13300,DSORG=PS)
//SYSIN DD *
/DBASE NAME=SYS2.SAR
/LOAD ID=MRD2001P GEN=0
DDNAME=REPORT
/*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//*
After submitting above JCL, I got MAXCC=16 and below error:
/DBASE NAME=SYS2.SAR
SARBCH05 Logon successful for CS0186 to SYS2.SAR
/LOAD ID=MRD2001P GEN=0
DDNAME=REPORT
SARBCL10 Requested sysout not found in master index.
Thanks. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hello look here
supportcontent.ca.com/cadocs/0/CA%20View%20Version%2012%200-ENU/Bookshelf_Files/HTML/View_Message_ENU/index.htm?toc.htm?1140955.html
Quote: |
SARBCL10
Requested sysout not found in master index
Reason:
The requested SYSOUT group does not exist in the master index. This is normally caused by a misspelled SYSOUT identifier, a backup cycle deleting the SYSOUT group prior to completion of the load process, or the manual deletion of the SYSOUT group by using the online retrieval facility or batch retrieval facility (SARBCH).
Action:
Verify the existence of the SYSOUT group. If the SYSOUT identifier (ID), generation (GEN), and/or sequence number (SEQ) was specified incorrectly, change the parameter specification, and then resubmit the load request. |
|
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Go to SAR online first and give required parameter like GEN etc to that of you have given in SYSIN and try to find the SYSOUT you are looking for.
That will give you idea on what GEN valule or SAR parameter value you should be giving. |
|
Back to top |
|
|
sasanka Warnings : 1 New User
Joined: 18 Jan 2008 Posts: 34 Location: India
|
|
|
|
Below is the SAR details of Job MRD2800P which is the recent run of job MRD2800P
CA View SARO -------------- Sysout Selection List -----------------------------
Command ===> Scroll ===> CSR
Sel Sysout ID Jobname Jobid Arch Date Time Loc Lines Pages Xcode
==> MRD2800P * * * * * * * *
MRD2800P MRD2800P JOB07083 01/16/2015 01:26 DISK 1098 7
*********************Bottom of Data ************************
CA View SARO ------------------ Data Set List -------------- Row 00001 of 00007
Command ===> Scroll ===> CSR
ID ---> MRD2800P
Job ---> MRD2800P Jobid ---> JOB07083
Sel DDname Stepname Procstep DSID Lines Pages
JESMSGLG JES2 2 17 1
JESJCL JES2 3 160 1
JESYSMSG JES2 4 99 1
SYSPRINT NONCAT2 CONTROLR 101 40 1
SYSOUT MRD28001 MD810HH 106 45 1
SYSTSPRT MRD28001 MD810HH 108 8 1
DAPRENV NONCAT2 CONTROLR 111 729 1
*********************** Bottom of Data ******************
We wrote below JCL to Capture Job execution timing
//MF02221D JOB 4027915003,'SASANKA WBP051',MSGLEVEL=(1,1),
// CLASS=A,NOTIFY=&SYSUID,MSGCLASS=R
//*
//STEP01 EXEC PGM=SARBCH
//*
//REPORT DD DSN=MF0222.SAR.JOBNAME.TEST,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(3,3),RLSE),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=13300,DSORG=PS)
//*
//SYSIN DD *
/DBASE NAME=SYS2.SAR
/LOAD ID=MRD2800P GEN=0
DDNAME=REPORT
/*
//*
//SYSPRINT DD SYSOUT=*
//*
//SYSOUT DD SYSOUT=*
//*
After execution we got below error with Maxcc = 16
/DBASE NAME=SYS2.SAR
SARBCH05 Logon successful for CS0186 to SYS2.SAR
/LOAD ID=MRD2800P GEN=0
DDNAME=REPORT
SARBCL10 Requested sysout not found in master index
Please help me to solve this error. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Why not make it easier for us by using the code tags? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
That's not a JCL error. Look up SARBCL10 in the appropriate SAR manual and see if that helps. Why do you have a control card not starting with a '/'? |
|
Back to top |
|
|
sasanka Warnings : 1 New User
Joined: 18 Jan 2008 Posts: 34 Location: India
|
|
|
|
I am working in client machine where I am not able to get the CA manual. is there any altenate ways to fix this issue. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
This is the documentation
supportcontent.ca.com/cadocs/0/CA%20View%20Version%2012%200-ENU/Bookshelf.html
Have you tried this?
Quote: |
Go to SAR online first and give required parameter like GEN etc to that of you have given in SYSIN and try to find the SYSOUT you are looking for.
That will give you idea on what GEN valule or SAR parameter value you should be giving. |
Try removign the GEN parameter & coding like below to see if it works.
Code: |
/LOAD ID=MRD2800P DDNAME=REPORT |
|
|
Back to top |
|
|
|