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    Is there a limit to the length of global variable sent to Data Migrator.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Is there a limit to the length of global variable sent to Data Migrator.
 Login/Join
 
Gold member
posted
With Data Migrator 7.702 (Windows 2008 64 / Apache) I ran the following bat file which calls CMRUN. (Also see ACCT.FEX and the DATAMIGRATOR LOG below.) The length of &&acct2 gets truncated at 952 characters (See the log &&acct2 ends with 1234567 not 123456789.) I tested and the cutoff is determined by length of all global variableS not just a single variable. Is there a way to overcome this restriction?

(I am actually having problems with a “javascript post” – but this seems to be the same related and this is easier to present.)

********************************
Cmruntest.bat

@ECHO OFF
set EDAHOME=e:\ibi\srv77\home
set EDACONF=e:\ibi\srv77\wfs\etc
set EDACS3=e:\ibi\srv77\wfs\etc\odin.cfg
set PATH=e:\ibi\srv77\home\bin;%PATH%
Cmrun s=UAT, u=wf7admin, p=WFocusxx, r=acCt, A=FAD_ETL, w=0, v=\"&&ACCT2=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000123456789\"
if errorlevel 20 goto rc20
if errorlevel 16 goto rc16
if errorlevel 12 goto rc12
if errorlevel 8 goto rc8
if errorlevel 4 goto rc4
echo Request OK
goto end
:rc20
echo (20) Request timed out
goto end
:rc16
echo (16) Request failed in execution
goto end
:rc12
echo (12) Request not found
goto end
:rc8
echo (8) iWAY API Error
goto end
:rc4
echo (4) Invalid input parameter
:end
********************************

Acct.fex
-TYPE ACCT2: &&ACCT2
-TYPE LEN: &&ACCT2.LENGTH
? &&
********************************

Data Migrator Log

2011/04/08 13:16:55 (ICM18974) ------ Start of Log Record for fad_etl/acct ------
2011/04/08 13:16:55 ACCT2: 0000000000000000000000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 LEN: 957
2011/04/08 13:16:55 &&ACCT2 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000000
2011/04/08 13:16:55 00000000000000000000000000000000000000000000000000000012
2011/04/08 13:16:55 34567
2011/04/08 13:16:55 (ICM18031) Finished
2011/04/08 13:16:55 (ICM18072) Elapsed run time 0:00:00


Webfocus 7.6.4
Windows 2003 Server, SQL Server 2005
Excel, HTML , JavaScript ,and PDF.
Reportcaster, BID, Tomcat
 
Posts: 79 | Registered: May 02, 2006Report This Post
Guru
posted Hide Post
CMRUN doesn't have any limit on parameter length.

I also researched Windows command files, apparently the limit on a command line is about 8K and you are well under that.

Please open a hottrack case and we will investigate further.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report 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    Is there a limit to the length of global variable sent to Data Migrator.

Copyright © 1996-2020 Information Builders