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] SREG in SQL Where Clause

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SREG in SQL Where Clause
 Login/Join
 
Member
posted
I am having no luck using the following SQL. The logs show the literal text SREG(filename)instead of the filename picked up by the file listener. Evaluate SQL is set to TRUE within the SQl object properties as well. Any help would be greatly appreciated.

update ETL_File_Expectations set LastArrival = GETDATE() where Product = 'APSoftware' and Filename = SREG(filename)

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 4 | Registered: March 20, 2013Report This Post
Silver Member
posted Hide Post
When you create the SQL DML statement, you can use named tokens to represent the values to be used in the statement.

For example:
Update ETL_File_Expectations set LastArrival = GETDATE() where Product = 'APSoftware' and Filename = '?fName'

Then in the user properties section of the agent, represent the values as name/value token pairs, as listed in the following table:

SREG Name/SREG Value
--------------------
fName/SREG(filename)
 
Posts: 38 | Registered: April 13, 2012Report 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] SREG in SQL Where Clause

Copyright © 1996-2020 Information Builders