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
 

 

JCL error while executing PGM=SARBCH

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: JCL error while executing PGM=SARBCH
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: 1445
Location: Azeroth

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

Hello look here
https://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    Post subject:
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    Post subject:
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: 1715
Location: UK

PostPosted: Sat Jan 17, 2015 4:48 am    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Sat Jan 17, 2015 6:13 am    Post subject: Reply to: JCL error while executing PGM=SARBCH
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    Post subject: Reply to: JCL error while executing PGM=SARBCH
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: 1445
Location: Azeroth

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

This is the documentation
https://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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am


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