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

JCL error while executing PGM=SARBCH


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sasanka
Warnings : 1

New User


Joined: 18 Jan 2008
Posts: 34
Location: India

PostPosted: Fri Jan 09, 2015 9:55 am
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Jan 09, 2015 6:45 pm
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Sat Jan 10, 2015 11:22 am
Reply with 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.
Back to top
View user's profile Send private message
sasanka
Warnings : 1

New User


Joined: 18 Jan 2008
Posts: 34
Location: India

PostPosted: Sat Jan 17, 2015 1:51 am
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sat Jan 17, 2015 4:48 am
Reply with quote

Why not make it easier for us by using the code tags?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Jan 17, 2015 6:13 am
Reply with quote

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
View user's profile Send private message
sasanka
Warnings : 1

New User


Joined: 18 Jan 2008
Posts: 34
Location: India

PostPosted: Thu Jan 22, 2015 1:51 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jan 22, 2015 2:16 pm
Reply with quote

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
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top