IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    report hangs
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Master
Posted
Hi,

When I try to run a sql query (sql server) from fex, the report hangs. The query runs fine in query analyzer. The master files are working fine. I am not sure, what causes this problem?
I tried to run this using WFServlet and directly in server console.

Any thoughts,


Kamesh

WF 7.1.6 on WinXp/IIS/Tomcat
Ouput:HTML/PDF/Exl2k
 
Posts: 551 | Location: cincinnati | Registered: January 09, 2005Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Missed off semi colon or END. Fields too big for wf to receive.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 837 | Location: Airstrip One | Registered: October 06, 2006Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Kamesh, can you post the code?


Data Migrator 5.3 and 7.1
SQL Server, Oracle, DB2
Windows
 
Posts: 105 | Registered: January 18, 2007Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
SQL SQLMSS SET SERVER CONNECTIONNAME
SQL SQLMSS

SELECT TOP 10 * FROM TABLENAME;

TABLE FILE SQLOUT
PRINT *
END
-EXIT


Kamesh

WF 7.1.6 on WinXp/IIS/Tomcat
Ouput:HTML/PDF/Exl2k
 
Posts: 551 | Location: cincinnati | Registered: January 09, 2005Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Get rid of spaces and -- sql comments. I have had probs with these before when you try and pretty format!

Try

SQL SQLMSS SET SERVER CONNECTIONNAME
SQL SQLMSS
SELECT TOP 10 * FROM TABLENAME;
TABLE FILE SQLOUT
PRINT *
END
-EXIT



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 837 | Location: Airstrip One | Registered: October 06, 2006Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Tried that too. No luck.


Kamesh

WF 7.1.6 on WinXp/IIS/Tomcat
Ouput:HTML/PDF/Exl2k
 
Posts: 551 | Location: cincinnati | Registered: January 09, 2005Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
quote:
SQL SQLMSS SET SERVER CONNECTIONNAME
SQL SQLMSS
SELECT TOP 10 * FROM TABLENAME;
TABLE FILE SQLOUT
PRINT *
END
-EXIT


Did you put ENGINE?

ENGINE SQL SQLMSS SET SERVER CONNECTIONNAME
SQL SQLMSS
SELECT TOP 10 * FROM TABLENAME;
TABLE FILE SQLOUT
PRINT *
END
-EXIT


WF 7.6.x and 7.1.x Win/Solaris/AIX, MRE/Dashboard/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, JD Edwards
 
Posts: 173 | Location: Irving, TX | Registered: June 27, 2006Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
quote:
SQL SQLMSS SET SERVER CONNECTIONNAME
SQL SQLMSS
SELECT TOP 10 * FROM TABLENAME;

TABLE
ON TABLE HOLD AS MSS_DATA2 FORMAT ALPHA
END
-RUN


Tom Flynn
WebFOCUS 5.2.2 thru 7.6.x
Windows, Unix, MVS
 
Posts: 660 | Location: Richmond, VA | Registered: January 31, 2006Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Finally my DBA found the issue. The issue was in the database side.

Thanks guys for all your input.


Kamesh

WF 7.1.6 on WinXp/IIS/Tomcat
Ouput:HTML/PDF/Exl2k
 
Posts: 551 | Location: cincinnati | Registered: January 09, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    report hangs

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.