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

Return Code for the SARBCH step


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

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Wed May 28, 2008 3:21 pm
Reply with quote

I have a following extract step in my job which extracts the report from the SAR and writes into the DOUT file.

Sometimes the report id passed to this step is locked by the SAR program. Hence the report is not extracted in the file with DD name DOUT. I was to capture this situation and take the appropriate action in the next step. Can some one please let me know what will be the RETURN CODE/ CONDITION CODE from this step in case the report is locked by SAR?

Code:

//EXTRACT  EXEC PGM=SARBCH
//SYSPRINT DD  SYSOUT=*
//DOUT     DD DSN=TEST.S5R.AUTO.W.&RPT..&RUN,
//   UNIT=TSO,SPACE=(TRK,(25535,5000),RLSE),
//   DISP=(,CATLG,DELETE),
//   DCB=(RECFM=FBA,LRECL=133)
//SYSIN    DD  *
/DBASE NAME=SYS4.RPTDH
/PRINT ID=RPDP0016 GEN=05451 SEQ=05550 DDNAME=DOUT
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 28, 2008 4:26 pm
Reply with quote

Do you not have access to manuals, or even go so far as to try it yourself ?
Back to top
View user's profile Send private message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Wed May 28, 2008 4:52 pm
Reply with quote

I dont have access to the manuals. And unfortunately I wont be able to try it as we dont have access to the development region to try it out. I am just required to propose the solution and hence need the help from the group.

If one can provide the pointer to the manuals that would also be of great help
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts SFTP Return Codes TSO/ISPF 2
No new posts SAS Step execution statistics All Other Mainframe Topics 0
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:


Back to Top