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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
SQL PASSTHROUGH
 Login/Join
 
<msam>
posted
Hi All,
I want to use SQL Pass through and I'm using the below syntax .but I get the errors.can anyone help me in this regard.

-SET &SERVER =Server Name;
SQL SQLMSS SET SERVER &SERVER
SQL SQLMSS
SELECT
...
...
From Table Name..;
TABLE FILE SQLOUT
PRINT
..
..
END
-EXIT
 
Report This Post
Silver Member
posted Hide Post
What sort of errors? I usually just do
TABLEF FILE SQLOUT
PRINT *
ON TABLE HOLD AS xxxx FORMAT ALPHA
END

Then you can treat the hold file xxxx just like any other.


------------------------------------------
last version used: v7.1; truly miss the wonderful things I did with WebFOCUS, HTML, & JavaScript.
 
Posts: 36 | Location: Rolling Meadows, IL | Registered: September 05, 2007Report This Post
Expert
posted Hide Post
The syntax is something like this:

SET SQLENGINE = SQLMSS
SQL SET SERVER MSCRM
-RUN

SQL
SELECT
MSCRM.dbo.Contact.OwnerIdName,
MSCRM.dbo.Contact.CreatedOn,
FROM
MSCRM.dbo.Contact
WHERE
(MSCRM.dbo.Contact.DeletionStateCode = 0)
;
TABLE
ON TABLE HOLD AS H001 FORMAT ALPHA
END
-RUN



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
<msam>
posted
I get the following error.Do I need to specify the Connection Name anywhere..?

(FOC1671) SET SERVER IRF_STAGING COMMAND FOR SQLMSS INTERFACE OUT OF SEQUENCE
 
Report This Post
<msam>
posted
where can i specify the Connection name.Is it compulsory to specify the database name and Server Name for the pass through.

Regards,
MSAM
 
Report This Post
Expert
posted Hide Post
quote:

(FOC1671) SET SERVER %1 COMMAND FOR %2 INTERFACE OUT OF SEQUENCE
Before using a SET SERVER command the corresponding server with it's logon attributes (e.g. user and password) must be declared by SET USER command


The User ID and Password is included in the data adaptor connection setting when the security setting is "Explicit" in edasprof.prf:

ENGINE SQLMSS SET CONNECTION_ATTRIBUTES MSCRM banu1/admin,mypassword


The same command can be included in the FEX.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders