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
Create SQLOUT
 Login/Join
 
<Umar Farook S>
posted
Hi I am new to WEBFOCUS
please help me out

I like to know whether every select should be followed with the following statements or only if i need to print those i need to follow these steps please advice ASAP

TABLE FILE SQLOUT
---
ON TABLE HOLD AS
END
-RUN

DEFINE FILE
....
END

TABLE FILE
PRINT....
 
Report This Post
Expert
posted Hide Post
quote:
i need to print those i need to follow these steps please advice ASAP
- Don't know what you mean.

If you use SQL passthru, you will need
TABLE FILE SQLOUT
ON TABLE HOLD AS hold
END
-RUN

for each SQL request.


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
<Umar Farook S>
posted
I really asked the same question
1.ok i write SQLOUT statement
2.what i would write then in next block of define
3.i do not want to print- even then do i have to write print statement

plesae help m eout
 
Report This Post
Expert
posted Hide Post
You need a basic course in FOCUS.

TABLE FILE SQLOUT
ON TABLE HOLD AS hold
END

creates a temporary file called hold...

then you can DEFINE fields and then PRINT and HOLD after the DEFINE. Depends on what you want to do next.


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
Expert
posted Hide Post
Umar,

A brief explanation -

When you have SQL passthru, WebFOCUS passes that to the predetermined adapter accroding to the SET ENGINE etc. statements.

The RDBMS processes the SQL and throws an answerset back at WebFOCUS (known internally to WF as SQLOUT).

Now, what does WebFOCUS do with it?

Nothing unless you tell it what to do.

Therefore you require a minimum
TABLE FILE SQLOUT
PRINT what ever columns from the SQLOUT answerset that you need.
END

There are a few restictions such as not being able to do a DEFINE on the SQLOUT, so you would need to HOLD it and the process a DEFINE and then TABLE the hold file.

But the DEFINE and TABLE would be covered in a basic training course, so press your bosses to send you on one of the many that IB run (no I am not an IB employee, although I would never turn down introduction fees Gerry Wink).

We, on the Forum, can help in so many ways but please do not expect us to provide you with the basic skills to start using WebFOCUS. It is not fair on us and it is not fair on you, You would benefit more from a structured training path than you will just trying to pick up the language from a Forum.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<Umar Farook S>
posted
Thanks Tony
 
Report This Post
Platinum Member
posted Hide Post
Tony your brief explanation was perfect.
Ira


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
 
Posts: 195 | Registered: October 27, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders