some instructions here..EXIT [your RETURN-CODE]cukai Red Flag This Post Please let us know here why this post is inappropriate. Open-rexx?0How to parse variable in REXX/Regina0Dealing with PULL in REXX0Rexx, Parse a file for a single line0Can't figure out data type of character in REXX0How to copy stem value to simple If any error in rexx it sets the RC variable to non-zero value but the step in the JCL still runs fine with return code equals to zero. RE: Setting return code variable of JCL kregen (Programmer) 10 Jan 03 12:51 Hello,please use IKJEFT1A or IKJEFT1B and not IKJEFT01 to execute your REXX-Script.then you can set the RETURN-CODE for
Close Box Join Tek-Tips Today! How did Adebisi make his hat hanging on his head? Open Object Rexx™: Programming GuidePrevChapter 7.
All i want is set the condition code of step calling rexx in JCL to non-aero value in case of any rexx failure.Can someone help in this regard ??Anks RE: Setting Resources Join | Advertise Copyright © 1998-2017 ENGINEERING.com, Inc. By joining you are opting in to receive e-mail. How to tell my parents I want to marry my girlfriend Can this number be written in (3^x) - 1 format?
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed The special value -3 indicates that the specified command was not found. Bruteforcing a keypad lock Why do CDs and DVDs fill up from the centre outwards? up vote 1 down vote favorite how to assign a value to RC special variable in REXX?
Join UsClose MVSFORUMS.comA Community of and for MVS Professionals FAQ Search Quick Manuals Register Profile Log in to check your private messages Log in How to set return code in Rexx http://stackoverflow.com/questions/4313630/rc-special-variable-in-rexx share|improve this answer answered Nov 30 '10 at 15:59 Deuian 700512 add a comment| up vote 0 down vote If you want to set the return value of your method you You might have to press the Ctrl+Break key combination to stop processing. When jumping a car battery, why is it better to connect the red/positive cable first?
Bash remembers wrong path to an executable that was moved/deleted What time does "by the time" mean? this contact form For More Information Visit the REXX page here for more sources of REXX info. MVSFORUMS.com Forum Index -> TSO and ISPF View previous topic :: View next topic Author Message PremkumarModeratorJoined: 28 Nov 2002Posts: 77Topics: 7Location: Chennai, India Posted: Mon Dec 02, 2002 11:07 How can I stop Alexa from ordering things if it hears a voice on TV?
Do we know exactly where Kirk will be born? Without some provision to stop the program, in this case a trap, Rexx continues running. Not the answer you're looking for? have a peek here asked 6 years ago viewed 1562 times active 4 years ago Get the weekly newsletter!
All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. Send form result back to twig Why does the U-2 use a chase car when landing?
Preserving Vertices Are the guns on a fighter jet fixed or can they be aimed? Is it bad practice to use GET method as login username/password for administrators? Browse other questions tagged rexx or ask your own question. Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free.
If something goes wrong, the return code issued is a nonzero number. Rexx includes the following instructions for trapping and controlling system errors:CALL ON ERRORCALL ON FAILURESIGNAL ON ERRORSIGNAL ON FAILURE
and the batch job step ends with whatever number exit_code has been assigned.Cheers,Dave. Why leave magical runes exposed? Register now while it's still free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail.
The number depends on the command itself and the error encountered.This example shows how to display a return code: /* GETRC.CMD report */ "TYPE nosuch.fil" say "the return code In the next example, an error message is displayed when the TYPE command returns a nonzero value in RC: /* Simple if/then error handler */ say "Type a file name:" The piece of code, that you had given for the ISPF environment, what is the significance and where can it be used ? Thanks, Rajvasan Back to top PremkumarModeratorJoined: 28 Nov 2002Posts: 77Topics: 7Location: Chennai, India Posted: Fri Jan 03, 2003 5:27 am Post subject: Rajvasan, When you are executing ISPF dialogs in batch,
Rexx includes the following instructions for trapping and controlling system errors:CALL ON ERRORCALL ON FAILURESIGNAL ON ERRORSIGNAL ON FAILURE
Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by HomeForumsProgrammersLanguagesREXX Forum Setting return code variable of JCL thread277-420043 Forum Login with LinkedIN Or Log In Locally Email Password Remember Me Forgot Password?Register ENGINEERING.com Eng-Tips Forums Tek-Tips Forums Search Posts Find A Forum Thread Number Find An Expert Resources Jobs Code: zispfrc = rcode address ispexec "vput (zispfrc) shared" Back to top rajvasanBeginnerJoined: 10 Code: Exit RC Use the following code for programs with ISPF environment.
For REXX services provided by IBM or other software vendors, refer to the product documentation for more information on how to interpret these return codes.