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.
The link by Kerry is for an older version. If anyone else has this problem, the solution, for now, is to use Java to call the CMRUN.exe file. I'd post a link to the documentation, but I'm not sure if that's allowed.
For documentation, you can refer to the topic name in the "___ chapter in the ___ manual", for example. Or, if you prefer, you can provide the DN (document number).
You can connect to any iDM server using JDBC. The JAR is jlink.jar, the driver: ibi.jdbc.EdaDriver, url example: jdbc:eda://localhost:8116;server=LOOPBACK
You will have to call a custom stored proc that will then will invoke the CMASAP for you. If you wish to have the stats returned as an answerset, then the following will work:
-* Proc name: runflow.fex
-* Parameter names:
-* 1 - data flow name
-* 2 - application directory
-* 3 - parameters to be passed to the flow
-* Must be passed as key value pairs seperated by commas
-* e.g. COUNTRY=ENGLAND,CAR=JAGUAR
-DEFAULTH &1 = 'NONE'
-DEFAULTH &2 = 'baseapp'
-DEFAULTH &3 = ' '
-* following just to prevent prompting
-DEFAULTH &&DEP_1_RC = '99'
-DEFAULTH &&DEP_1_ID = 'UNK'
-* ensure a flow is requested
-IF &1 EQ 'NONE' GOTO :SKIP_ALL;
-* set params
-SET &PARAMS = IF &3 EQ ' ' THEN ' ' ELSE ',' || &3;
EX CMASAP REQ_NAME=&1, CM_ASYNC=OFF, APPDIR=&2, DEP_ALIAS = DEP_1 &3;
-RUN
-TYPE (ICM18039) DEP_1 &1 Return Code = &&DEP_1_RC
-*
-* call the stats
EX ETLSM JOBNAME='&&DEP_1_ID'
-RUN
-:SKIP_ALL
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott