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: 8700
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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Instream REXX? JCL & VSAM 13
No new posts CEMT using Rexx? Help please CLIST & REXX 3
No new posts get submitted JCL from SDSF with REXX... CLIST & REXX 2
Search our Forums:


Back to Top