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     [SOLVED] Access an Oracle package/Stored Procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Access an Oracle package/Stored Procedure
 Login/Join
 
Guru
posted
Hi,

I am getting an error trying to create a synonym to an oracle 11g Stored Procedure.

PROCEDURE pHLMain( cMain IN OUT HLMain_type,
pDia IN VARCHAR,
pMes IN VARCHAR,
pAno IN VARCHAR,
pDiasUteisMTD IN NUMBER,
pDiasUteis IN NUMBER,
pRegional IN VARCHAR := '00');



Return:

type recHLMain is record
(
"MODEL" varchar2(200)
,"SEGMENT" varchar2(200)
,ORDEM number(10)
,FSSMesAntFM number(10)
,FSSObj number(10)
,FSSMesAtu number(10)
,FSSvsOBJ number(10)
,TISMesAntFM number(10)
,TISObj number(10)
,TISMesAtu number(10)
,TISvsOBJ number(10)
,FISMesAntFM number(10)
,FISObj number(10)
,FISMesAtu number(10)
,FISvsOBJ number(10)
,VESeg number(10)
,VEPerform number(10)
,VOLMesAntFM number(10)
,VOLMesAtu number(10)
,VOLvsOBJ number(10)
,OBJFord number(10)
,OBJInd number(10)
,ObjIndSegTOT NUMBER(10)
,OBJTOTALIND number(10)
,VOLTOTALINDFM number(10)
,VOLTOTALINDMTD number(10)
,VOLSEGINDMESANT number(10)
,VOLSEGIndMTD number(10)
,numProgProd varchar2(10)
);



Can anyone help me?

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


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
SET SQLENGINE = SQLORA

SQL SET SERVER bzmkttst

SQL SQLORA
ex svstst.svs6200k.pHLMain(cMain,’01’,’03’,’2015’,10,21,’00’);

TABLE FILE SQLOUT
PRINT *
IF READLIMIT EQ 10
END


This is other procedure and the error:
(FOC1400) SQLCODE IS 6550 (HEX: 00001996)
: ORA-06550: line 1, column 37:
: PLS-00103: Encountered the symbol "¿" when expecting one of the
: following:
: ( - + case mod new not null
:
: continue avg count current exists max min prior sql stddev
: sum variance execute forall merge time timestamp interval
: date

:
pipe
: L (FOC1405) SQL PREPARE ERROR.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
This stored procedure is current being used by Crystal Reports and we do need to migrate it to WebFOCUS.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
SET SQLENGINE = SQLORA

SQL SET SERVER bzmkttst

SQL SQLORA

ex svstst.svs6200k 'var1', 'var2', 'var3', var4, var5;

TABLE FILE SQLOUT
PRINT *
END


I will develop some reports now but I will need those masters files later.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report 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     [SOLVED] Access an Oracle package/Stored Procedure

Copyright © 1996-2020 Information Builders