Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    invoke data migrator from java
Go
New
Search
Notify
Tools
Reply
  
invoke data migrator from java
 Login/Join
 
<Ranga>
posted
can any one tell how to invoke a data migrator process from Java
 
Reply With QuoteReport 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: 1950 | Location: New York | Registered: November 16, 2004Reply With QuoteReport 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, 2012Reply With QuoteReport 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, 2011Reply With QuoteReport 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, 2011Reply With QuoteReport 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, 2012Reply With QuoteReport 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, 2012Reply With QuoteReport 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
 
Reply With QuoteReport 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: 1101 | Location: Toronto, Ontario | Registered: May 26, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.