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

BPXBATCH Rexx Shell Script Return Code


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 47
Location: Simpsonville, SC

PostPosted: Mon Aug 15, 2011 5:42 am
Reply with quote

I'm executing a Rexx Shell Script via BPXBATCH that does some file maintenance in our zFS File System. Now the script ends with a Exit ExecRC statement where ExecRc is the final return code. But the CC reported by the step executing BPXBATCH is always 00 regardless of the actual exit value.

I've looked through the various USS manuals, but can not really find any detailed information on passing return codes back from Rexx Scripts.

Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 15, 2011 7:44 am
Reply with quote

See APAR OA18832. The 0 return code for BPXBATCH is normal and expected and means the processing of your shell script is complete, no matter how many errors the script generated.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top