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    [CLOSED] IWAY Error - Return Code - 8

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] IWAY Error - Return Code - 8
 Login/Join
 
Gold member
posted
I have a flow that i am trying to setup dynamically and i have two pieces of the flow.

Part 1 - Focus Code:

-SET &&PAY3MONTH = '';
-SET &3Month = '';
-SET &OneMonthAgo = '';

-SET &OneMonthAgo = DATECVT(&YYMD,'I8YYMD','YYMD');
-SET &OneMonthAgo = DATEADD(&OneMonthAgo, 'M', -3);
-SET &OneMonthAgo = DATECVT(&OneMonthAgo,'YYMD','A8YYMD');
-SET &3Month = EDIT(&OneMonthAgo,'9999-99-99');

-SET &&PAY3MONTH = &3Month;
-RUN

Part 2 - Data Flow

It has a source and target and in the where clause i have:

WHERE T1.FIELDNAME >= '&&PAY3MONTH'

When it runs i get the error:

DEP_4 fact_mt_payroll Return Code = 8


Note that when use a field in the table T1 it all works.

Thanks for all the help!

This message has been edited. Last edited by: Tamra,


WebFocus 8.02, SQL Server 2008r2
 
Posts: 51 | Registered: November 30, 2012Report This Post
Guru
posted Hide Post
How are you invoking the stored procedure (focexec) that sets the global variables and the data flow that uses them? Both must be in the same agent.

You ensure this by either:

(a) Open the data flow and click on the process flow tab. Delete the connection from start to the (purple) data flow. Drag in the stored procedure between start and data flow and connect them.

(b) Create a new flow and click on the process flow tab. Drag the stored procedure and data flow in. Connect Start to procedure to (blue) data flow. Double click on data flow and check "Run as Stored Procedure."


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    [CLOSED] IWAY Error - Return Code - 8

Copyright © 1996-2020 Information Builders