3ecommunications.net

Home > How To > How To Pass Return Code From Rexx To Jcl

How To Pass Return Code From Rexx To Jcl

Please try again later. Thanks. In fact I have jobs that have been running for at least 10years that rely on rexx giving a bad condition code if a certainrecord isn't found in an IMS database.Bruce Asked: July 14, 20098:02 PM Last updated: January 27, 20103:07 PM Related Questions MVS JCL Return-code Reason REXX Program - How to write output string from edit find command Dynamic allocation

bit.listserv.tsorexx Discussion: REXX return codes to JCL (too old to reply) Captain Paralytic 2007-07-30 14:56:40 UTC PermalinkRaw Message I have seen it written in many places that IKJEFT01 always reports RC= There are several utility applications (IDCAMS, IEFBR14) which will allow you to pass cond-codes via JCL - I believe. Privacy Reply Processing your reply... Each are called in a different step in the same JCL.

Send me notifications when members answer or reply to this question. dick scherrer Global moderator Posts: 6308Joined: Sat Jun 09, 2007 8:58 am Hasthanked: 3 times Beenthanked: 90 times Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 Thanks. By submitting you agree to receive email from TechTarget and its partners.

Please let me know if there is any method to pass the returncode from REXX program to jcl and then running the Step 3.Thanks,Chinkump chinkump Posts: 26Joined: Fri Jan 20, Um Google Groups Discussions nutzen zu k├Ânnen, aktivieren Sie JavaScript in Ihren Browsereinstellungen und aktualisieren Sie dann diese Seite. . Following Follow MVS How do I pass pass a return-code of 4 back to MVS JCL? Code to Execute on Return to Frame Powered by phpBB Forum Software Search IT Knowledge Exchange Join / Login IT Knowledge Exchange a TechTarget Expert Community Questions & Answers

IBM MAINFRAME & MVS FORUM A Help & Support Forum for Mainframe Beginners Skip to content Board index ‹ PROGRAMMING LANGUAGES ‹ CLIST & REXX Change font size Print view Depart, I say; and let us have done with you. There was an error processing your information. http://bit.listserv.tsorexx.narkive.com/LYMdNfrk/rexx-return-codes-to-jcl Register Hereor login if you are already a member E-mail User Name Password Forgot Password?

but still getting cond code in JCL = to 0000. IKJEFT01 will always return 0. > Klaus > ++EOM++ -- Jean-Pierre Boucher DBA Team 7-3246 Mon, 14 Jan 2002 03:00:00 GMT Chris Lewi#4 / 4 return code to JCL Jean-Pierre, by Viswanathchandru » Fri Apr 19, 2013 2:52 am 2 Replies 1958 Views Last post by Viswanathchandru Fri Apr 19, 2013 3:55 am Passing the date from JCL to REXX by Chris Lewis GTE Data Services Quote:> Hi, > I have 3 REXX program to execute.

You mentioned that you are invoking three programs in a single step. We'll email youwhen relevant content isadded and updated. JCL Return Code (RC) 4. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.

need help with jcl coding 8. I want to use this code as condition in my JCL. Each are called in a different > step in the same JCL. Mein KontoSucheMapsYouTubePlayNewsGmailDriveKalenderGoogle+├ťbersetzerFotosMehrShoppingDocsBooksBloggerKontakteHangoutsNoch mehr von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen Um Google Groups Discussions nutzen zu k├Ânnen, aktivieren Sie JavaScript in Ihren Browsereinstellungen und aktualisieren Sie dann diese Seite. .

How to get the max return code in jcl ? 2. Privacy Reply Processing your reply... If it's a COBOL, FORTRAN, PL1, etc. In each REXX program, I return a code to know how > the program terminated (i.e: 13 = error).

I think you can issue a cond-code using input values for IDCAMS also. Below is an example of how to do this within your REXX program: /* REXX */ address ISPEXEC return_code = 13 /* or whatever Passing a parameter Rexx to JCL and return a parameter to JCL 3.

All programs will be executed regardless of the return code.

ABC Code : Return without parenthesis 12. IKJEFT01 will always return 0. If multiple programs are invoked then IKJEFT01 will use the return code from the last program executed. Regards MM ------------------- just a little more detail … In a COBOL program:

 MOVE 4 TO RETURN-CODE. 

I want to use this code as > condition in my JCL. > The problem is, in SDSF, I have a message telling me that the program > terminated with return There was an error processing your information. History Contributors Ordered by most recent Sunsetrider860 pts. program, you can imbed logic in the code to generate a cond-code via the JCL.