Home > Return Code > Return Code 12 In Rexx

Return Code 12 In Rexx

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Taxiing with one engine: Is engine #1 always used or do they switch? When the language processor processes a clause that it does not recognize as a REXX instruction or an assignment instruction, the language processor considers the clause to be a host command Preserving Vertices LifeCoach project Should we kill the features that users are not using frequently, to improve performance? check over here

rexx share|improve this question asked Nov 30 '10 at 12:16 Partha 62 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote /* REXX */ "LISTDS ?" If you issue a host command in a REXX exec, you should enclose the entire command in double quotation marks, for example: "routine-name var1 var2" TSO/E provides several host command environments Not the answer you're looking for? The return code may also be a -3, which indicates that the host command environment could not locate the specified host command (TSO/E command, CLIST, exec, attached or linked routine, ISPF

The host command environment processes the command and then returns control to the language processor. A return code of -3 is always returned if you issue a host command in an exec and the host command environment cannot locate the command. Tip: If you issue a host command from a REXX exec that is running in an authorized or isolated environment, a -3 return code may be returned.

Why isn't the religion of R'hllor, The Lord of Light, dominant? i trying to debug Back to top kolusuSite AdminJoined: 26 Nov 2002Posts: 11585Topics: 74Location: San Jose Posted: Tue May 30, 2006 5:16 am Post subject: venkat_nec, An return code of -3 However, there are other options available that may be more appropriate for some uses with batch in TSO: Program Condition Result IKJEFT01 Abend: program, TSO command Exits with RC=12 RC not Browse other questions tagged rexx or ask your own question.

up vote 1 down vote favorite how to assign a value to RC special variable in REXX? Back Issues MVSFORUMS.comA Community of and for MVS Professionals FAQ Search Quick Manuals Register Profile Log in to check your private messages Log in Rexx Return Code RC(-3) MVSFORUMS.com Why would two species of predator with the same prey cooperate? http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikjc500/ikj2l2_ALLOCATE_command_return_codes.htm undo a gzip recursively Changing thickness of outline in QGIS What early computers had excellent BASIC (or other language) at bootup?

If a system abend occurs during a host command, the REXX special variable RC is set to the negative of the decimal value of the abend code. So you can set it to whatever you want at least on a mainframe running Zos. Print all ASCII alphanumeric characters without using them Send form result back to twig How should I respond to absurd observations from customers during software product demos? Check this link which explains in detail about running ISPF in batch http://mvsforums.com/helpboards/viewtopic.php?t=5276&highlight=batchpdf Hope this helps...

Why do shampoo ingredient labels feature the the term "Aqua"? https://www.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zvm.v620.dmsw0/cmsrcode.htm Cheers Kolusu_________________Kolusu - DFSORT Development Team (IBM) DFSORT is on the Web at: www.ibm.com/storage/dfsort Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest For example, //TSOBATCH PROC TMP=IKJEFT01 //IKJEDIT EXEC PGM=&TMP,DYNAMNBR=140,REGION=4M,TIME=30 //SYSPROC DD sysproc concatenation .... //SYSHELP DD DSN=SYS1.HELP,DISP=SHR //SYSLBC DD DSN=SYS1.BRODCAST,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSTERM DD SYSOUT=* //SYSTSPRT DD SYSOUT=* You could execute The following topics describe the different host command environments TSO/E provides for non-TSO/E address spaces and for the TSO/E address space (TSO/E and ISPF). _________________Shekar Grow Technically Back to top venkat_necBeginnerJoined:

If you have set up a JCL procedure to run TSO in batch, you may wish to include a parameter to allow a different TMP to be specified. check my blog A WITH RC = 4" RETURN 4 /* REXX - PROGRAM B */ SAY "CALLING PROGRAM A..." CALL PROG_A RC = RESULT SAY "RC = "RC " RETURN FROM PROGRAM A..." 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 Maybe you need to provide more detail in your question like what type of Rexx it is (Classic or OO) and what environment you are using.

asked 6 years ago viewed 1562 times active 4 years ago Related 0How do I display a table to an ISPF panel with Rexx then retrieve back updated user input?1Anyone know Do we know exactly where Kirk will be born? HesabımAramaHaritalarYouTubePlayHaberlerGmailDriveTakvimGoogle+ÇeviriFotoğraflarDaha fazlasıDokümanlarBloggerKişilerHangoutsGoogle'a ait daha da fazla uygulamaOturum açınGizli alanlarGrupları veya mesajları ara This Month's Topic TSO in batch: Alternate programs IKJEFT01 is the Terminal Monitor Program (TMP) typically used for this content Certain conditions may be raised depending on the value of the special variable RC: 1 If the RC value is negative, the FAILURE condition is raised. 2 If the RC value

If no abend occurs during a host command, the REXX special variable RC is set to the decimal value of the return code from the command. Authentication Error for ABBY Ocr Sdk! If a user abend occurs during a host command, the REXX special variable RC is set to the decimal value of the abend code.

For other examples related to TSO in batch here, see: Email notification from Batch Jobs Processing Non-standard Datasets Running OMVS Commands in Batch Creating VSAM datasets in Batch Searching HFS directories

The return code set in RC is the return code from the host command you specified. Back to top shekar123AdvancedJoined: 22 Jul 2005Posts: 510Topics: 87Location: Bangalore India Posted: Tue May 30, 2006 12:32 am Post subject: venkat_nec, Here is a brief description about RC = -3 and What are the benefits of an oral exam? Feedback Comments or suggestions can be sent to the author.

For example, in REXX processing, a host command can be: 1 A TSO/E command processor, such as ALLOCATE, FREE, or EXEC 2 A TSO/E REXX command, such as NEWSTACK or QBUF 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 What's the male version of "hottie"? have a peek at these guys Is there a reason why similar or the same musical instruments would develop?

current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. 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 Are there any rules of thumb for the most comfortable seats on a long distance bus? The host command environment processes the command, sets a return code in the REXX special variable RC, and returns control to the language processor.

Set up non-index.html home page to change daily How to deal with an intern's lack of basic skills?