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  WebFOCUS/FOCUS Forum on Focal Point     [Very Imp] Getting no access to SQL Server Stored Procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Very Imp] Getting no access to SQL Server Stored Procedure
 Login/Join
 
Silver Member
posted
Hi All,

I am getting strange behavior when I call SQL server SP from webfocus(7703) fex...

The fex doesn't call SP ..

 
-SET &bu_id	='1';
-SET &analystid='5';
-SET &depcode='NPX16,NPX23,PSX11';
-SET &depcode_status='1';
-SET &citypair='CFRPME,PMESDR';
-SET &citypair_status='1';
-SET &startdepdate='2012/03/25';
-SET &enddepdate='2012/03/25';
-SET &depdate_status='1';
-SET &capture_date='2012/03/26';
-SET &resource='P';
-SET &resource_status='1';
-SET &equipment='M,N';
-SET &equipment_status='1';
-SET &level='0';
-SET &timeperiod='0';
-SET &return_code='0';                                          
-SET &return_message='0';
-SET ECHO = ALL;
SET SQLENGINE=SQLMSS
-*SQL EX rts_po.DBO.KPI_Load_Factor_KV '1'  ,'5'  ,'NPX16,NPX23,PSX11'  ,'1'  ,'CFRPME,PMESDR'  ,'1'  ,'2012/03/25'  ,'2012/03/25'  ,'1'  ,'2012/03/26'  ,'P'  ,'1'  ,'M,N'  ,'1'  ,'0'  ,'0'  ,'0'  ,'0';
SQL EX RTS_PO.DBO.KPI_Load_Factor_KV '&bu_id','&analystid','&depcode','&depcode_status','&citypair','&citypair_status','&startdepdate','&enddepdate','&depdate_status','&capture_date','&resource','&resource_status','&equipment','&equipment_status','&level','&timeperiod','&return_code','&return_message';
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD
END
-RUN
 


Please help..

-Regards
-Kumud


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report This Post
Virtuoso
posted Hide Post
you do not have any error messages?

-SET &ECHO=ALL;
at the start of this code might help




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Silver Member
posted Hide Post
I have got following after running the report:

  
Your request did not return any output to display.
Possible causes:
- No data rows matched the specified selection criteria.
- Output was directed to a destination such as a file or printer.
- An error occurred during the parsing or running of the request.



 -SET &bu_id	='1';
 -SET &analystid='5';
 -SET &depcode='NPX16,NPX23,PSX11';
 -SET &depcode_status='1';
 -SET &citypair='CFRPME,PMESDR';
 -SET &citypair_status='1';
 -SET &startdepdate='2012/03/25';
 -SET &enddepdate='2012/03/25';
 -SET &depdate_status='1';
 -SET &capture_date='2012/03/26';
 -SET &resource='P';
 -SET &resource_status='1';
 -SET &equipment='M,N';
 -SET &equipment_status='1';
 -SET &level='0';
 -SET &timeperiod='0';
 -SET &return_code='0';
 -SET &return_message='0';
 SET SQLENGINE=SQLMSS
 -*SQL EX rts_po.DBO.KPI_Load_Factor_KV '1'  ,'5'  ,'NPX16,NPX23,PSX11'  ,'1'  ,'CFRPME,PMESDR'  ,'1'  ,'2012/03/25'  ,'2012/03/25'  ,'1'  ,'2012/03/26'  ,'P'  ,'1'  ,'M,N'  ,'1'  ,'0'  ,'0'  ,'0'  ,'0';
 SQL EX RTS_PO.DBO.KPI_Load_Factor_KV '1','5','NPX16,NPX23,PSX11','1','CFRPME,PMESDR','1','2012/03/25','2012/03/25','1','2012/03/26','P','1','M,N','1','0','0','0','0';
 TABLE FILE SQLOUT
 PRINT *
 ON TABLE PCHOLD
 END
 -RUN







I need urgent help on this. Please suggest

-Regards
-Kumud


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report This Post
Gold member
posted Hide Post
Hello Kumud,
Are you able to execute it in SQL server management studio with the account that WebFOCUS data adaptor connection is using?
Also, I do not see any set command for your default connection.
ENGINE SQLMSS SET DEFAULT_CONNECTION connection name
Probably that is the reason.


7.7.01,windows2008 R2
 
Posts: 65 | Registered: July 28, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Very Imp] Getting no access to SQL Server Stored Procedure

Copyright © 1996-2020 Information Builders