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
 

 

Return Code for the SARBCH step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Return Code for the SARBCH step
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 28, 2008 4:26 pm    Post subject:
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    Post subject: Reply to: Return Code for the SARBCH step
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    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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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