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 use RESTful calls for RC jobs. I don't call from a fex. We wrote a little JAVA app that makes these calls as we wanted Control-M to run these jobs as successors of data loads.
It's hard to find as the doc for it was all over the place. Here are the steps once you have Rest License
1. Set up a rest connection using rest adapter. Only thing we needed to change was the Base URL to match our server name (note this is url used to access the client) 2. Create metadata for restsignon and runsched these were a challenge and IBI helped with this 3. Write a fex for signon this has to be executed every time basic code is TABLE FILE RESTSIGNON PRINT RETURNCODE RETURNDESC IF IBIRS_USERNAME EQ USERID IF IBIRS_PASSWORD EQ USERPASS ON TABLE SAVE AS SIGNRETURN END -RUN
we added code to check the return code etc.. 4. a fex to run the schedules This fex first executes the restsignon fex
Then it TABLE FILE RUNSCHED PRINT RUNSCHED.M6ILO.IBIRS_PATH AS 'Schedule Path' RUNSCHED.M6ILO._RESPONS AS 'Job id' IF IBIRS_PATH IS(PICKME) ON TABLE SET PAGE-NUMNOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML END
PICKME was an alpha file created earlier that in my case queries WF_REPOSOBJ and concatenates PRT_PATH with OBJNAME for the schedule I want to run (passed in as a variable)
That's basically it. We have an alert schedule that when conditions are met as a post process runs the RUNSCHED fex passing in the schedule we want to run if only one or use a modified version of the fex if more than one.
Hope this helps to get you started Crystal
Webfocus 8.0.7 on Windows
Posts: 176 | Location: Ohio | Registered: October 26, 2006