As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I tried using the IBATCH JCL in the ...WFM.DATA MVS library that came with our WebFocus 715 installation. It worked successfully, but whenever the report fails due to an error, it continued to send a zero return code.
Is there a way to make WebFocus to override or populate the MVS RC system variable so I can force an abend when a report ended unsuccessfully?
Thanks, Ronnel C WebFocus 7.1.5 IBM ZOS 1.6
Posts: 44 | Location: Fort Wayne, IN | Registered: February 07, 2007
The problem with the -QUIT FOCUS , it only works when a TABLE FILE or MODIFY fails. Things like syntax error, invalid data types, and other kinds of error stops the focexec immediately, so the -QUIT does not get executed.
What I am trying to do here is to force the JCL to abend so that the operator would get notified and our job scheduler (CA7) would not kick off any other job that the abended job normally would. This means any type of error.
Thanks, Ronnel C WebFocus 7.1.5 IBM ZOS 1.6
Posts: 44 | Location: Fort Wayne, IN | Registered: February 07, 2007
We have a series of ABORT routines, designed for the COBOL programer. I call the one of them that allows setting a USER ABEND Code, with this DM.
-RUN -SET &ABORT = IF &RECORDS NE 0 THEN 0 ELSE ABORT3(0333);
The sub-routine is in LINKPAC area so the MVS can find it without a special STEPLIB. You may have to ask someone who wastes time doing COBOL what the use to ABORT a program, and use that module instead of my ABORT3,
Jim Morrow Web Focus 7.6.10 under Windows 2003 MVS 7.3.3
I tried the -QUIT anyway and even the -QUIT FOCUS 12 but it did not affect the return code of the JCL. I also tried this with and without the FIN command in the JCL but it did not have any affect.
I haven't tried creating a subroutine to pupulate a variable, but eventually it will all boil down to modifying the RC mvs system variable which the -QUIT is not doing anyway.
Maybe I'll try executing a TSO command to run a JCL that calls a program that does not exist if I get a &RETCODE that is greater than 1.
I can also DYNAMIC ALLOCATE a file on a &RETCODE that is greater than 1. Then I can check for the existence of that file, and if it exists that means there was an error, then I will execute that non existent program to force an abend.
Keep the suggestions coming. I am open for any idea to work around this.
Thanks again for all the replies!
Thanks, Ronnel C WebFocus 7.1.5 IBM ZOS 1.6
Posts: 44 | Location: Fort Wayne, IN | Registered: February 07, 2007