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

Change the return code of SARBCH utility


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
narwal.pratap

New User


Joined: 14 Dec 2010
Posts: 3
Location: hyderabad

PostPosted: Thu Jan 27, 2011 8:00 pm
Reply with quote

How to change the return code of SARBCH utility
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jan 27, 2011 8:20 pm
Reply with quote

Why would you want to.

Also, you really do need to start giving better explanations of WHAT, and WHY you want to do something, and what you have already tried yourself.

Have you read the product documentation ?
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 27, 2011 8:25 pm
Reply with quote

Hi,

These are the valid input statements for SARBCH, So I think it may not be possible to achieve your requirement.

Code:
//*  THE FOLLOWING JCL MODES ARE CONTROLLED BY THE USER                 
//*                                                                     
//*  1) PARM=FB.XXX              SPECIFIES ON WHICH VERSION OF SAR     
//*                              YOUR SYSOUT RESIDES:                   
//*                                                                     
//*                              THIS CAN BE GOTTEN FROM THE SAR       
//*                              PANNEL.                               
//*                              'PRIMARY SELECTION FOR "FB.CSD"'       
//*                                                                     
//*  2) DSN=YOUR.DATASET.NAME    THIS IS THE NAME OF THE SEQUENTIAL     
//*                              DATASET YOU WISH USE.                 
//*                                                                     
//*  THE FOLLOWING SYSIN STATEMENTS ARE CONTROLLED BY THE USER         
//*                                                                     
//*  /PRINT ID=XXXXXXXXXXXXXXX   SPECIFIES THE SYSOUTID OF THE GROUP   
//*                              TO BE WRITTEN.  THIS PARAMETER IS     
//*                              REQUIRED.                             
//*                                                                     
//*         COPIES=NNNN          SPECIFIES THE NUMBER OF COPIES DESIRED.
//*                              MAY BE FROM 1 TO 255                   
//*                                                                     
//*         DDNAME=XXXXXXXX      SPECIFIES THE WRITING OF A SYSOUT     
//*                              GROUP TO THE DD STATEMENT GIVEN AS     
//*                              'XXXXXXXX'                             
//*                                                                     
//********  GEN=NNN              SPECIFIES THE ABSOLUTE OR RELATIVE     
//*                              GENERATION FOR WHICH SYSOUT IS TO BE   
//*                              WRITTEN.  IF OMITTED, THE MOST RECENTLY
//*                              ARCHIVED SYSOUT GROUP FOR THE ID WILL
//*                              BE WRITTEN.                           
//*         RELATIVE GENERATIONS:                                       
//*         -2 WOULD MEAN APPROXIMATELY TWO DAYS AGO                   
//*         -5 WOULD MEAN APPROXIMATELY FIVE DAYS AGO                   
//*         IT CORRESPONDS TO WHEN THE SAR ARCHIVE JOBS RUN             
//*         YOU CAN VERIFY THIS BY TRYING TO ACCESS THE JOB YOU WANT   
//*         USING THE RELATIVE GENERATION ON THE PANEL                 
//*                                                                     
//********  SEQ=NNN              SPECIFIES THE RELATIVE SYSOUT FOR THE
//*                              GENERATION GIVEN                       
//*                                                                     
//*         PAGE=(NN NN NN)      SPECIFIES 1 TO 9 PAGE NUMBERS OR RANGES
//*                              TO BE WRITTEN.  IF OMITTED THE ENTIRE
//*                              SYSOUT GROUP WILL BE WRITTEN.         
//*                                                                     
//*         VIEW=N               SPECIFIES A VIEW FORMAT IN WHICH THE   
//*                              REPORT WILL BE WRITTEN. WHERE N= 1 - 9
//*                                                                     


Hope it helps.
Back to top
View user's profile Send private message
narwal.pratap

New User


Joined: 14 Dec 2010
Posts: 3
Location: hyderabad

PostPosted: Thu Jan 27, 2011 8:33 pm
Reply with quote

I am taking dump of some jobs from sar, these jobs are passed through one CTC. when utility is taking dump , it does not find one of the job defined in CTC and giving the MAXCC=16. I can't delete the job fromCTC as furher logic in the jcl also depends upon that job. I want to run the jcl ,although it is giving MAXCC 16 .
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts REASON 00D70014 in load utility DB2 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top