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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am


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