Solved

Oracle error in PB10

Posted on 2004-10-14
9
302 Views
Last Modified: 2013-12-26
Hi Experts,

We have migrated our PB 8 application to PB10. In our application, we are calling oracle stored procedure, which is part of the package, to get some value. The procedure has around 15 in parameter and 15 out parameters. After migrating to PB 10, while executing the procedure call from front-end we are getting the  following error. But the same procedure works fine in PB 8.

ora 01036: illegal variable name/number

Need experts suggetions/solution on this.

Thanks in advance
Bala


0
Comment
Question by:balakarthikeyan
  • 3
  • 2
9 Comments
 
LVL 33

Accepted Solution

by:
sajuks earned 250 total points
ID: 12309643
Try setting StaticBind and Disable bind "on" in the dbparm page.You should be able to set this in the Database profile setup > transaction tab page.
0
 
LVL 33

Expert Comment

by:sajuks
ID: 12309652
Also try setting a dbtrace on to get the actual SQL statement being used.

0
 
LVL 8

Expert Comment

by:Vikas_Dixit
ID: 12309832
Bala,
Please turn on the DB trace and check what actual statement is fired..

Regards
vikas
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:balakarthikeyan
ID: 12316364
Dear sajuks and vikas
The setting of staticbind and disablebind also did not work.

i set the trace on(Am doing it for the first time)I gave a trace file name in c:\temp\trace1.pbp. a trace has been generated. But how to view it. When it opens in Profiler it says error on settracefilename. Errorcode is FileinvalidFormaterror!

regards
bala
0
 
LVL 8

Assisted Solution

by:Vikas_Dixit
Vikas_Dixit earned 250 total points
ID: 12316386
To Trun on the DB trace, put TRACE before the DBMS ( you may need to change the config file from where you r taking db connection parameters):

sqlca.DBMS = "TRACE o84" // Normally it will be just o84
sqlca.logid = 'XXX'
sqlca.

CONNECT USING SQLCA

There will be a file pbtrace.log saved in windows directory .. you can see all the sql statements fired from your application logged there.

Check for the call to this sp.

Trun off the profiling as you have mentioned above.

Also I will suggest you go to the sybase site and get the latest patches for PB10.


Regards,
Vikas

0
 
LVL 33

Expert Comment

by:sajuks
ID: 12565342
A split would be the proper response. The user was made aware of the different ways he could solve the problem
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now