Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    invoke data migrator from java

Read-Only Read-Only Topic
Go
Search
Notify
Tools
invoke data migrator from java
 Login/Join
 
<Ranga>
posted
can any one tell how to invoke a data migrator process from Java
 
Report This Post
Expert
posted Hide Post
Hi Ranga,

Did you open a case with Customer Support Services regarding this issue? Have you got a chance to review the suggested online document:

Starting Flows With CMASAP

Hope it helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
I hate to reopen such an old post, but I have the same exact question.

Should I open a ticket instead?


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 18 | Registered: September 13, 2012Report This Post
Member
posted Hide Post
Hi Benicely,

For this issue it would be best to open a case with technical support.

Thanks,

Alan


Alan Boord
 
Posts: 3 | Registered: March 15, 2011Report This Post
Member
posted Hide Post
Hi Benicely,

I meant to say Information Builders Customer Support Services.

Thanks again,

Alan Boord
Focal Point Moderator
 
Posts: 3 | Registered: March 15, 2011Report This Post
Member
posted Hide Post
Thank you AJ. I will open a case.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 18 | Registered: September 13, 2012Report This Post
Member
posted Hide Post
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.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 18 | Registered: September 13, 2012Report This Post
<Kathryn Henning>
posted
Hi benicely,

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).

Cheers!

Kathryn
 
Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    invoke data migrator from java

Copyright © 1996-2020 Information Builders