- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with Pro*C stuff
Operating System - HP-UX
1753853
Members
7517
Online
108808
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 02:01 AM
06-19-2009 02:01 AM
Problem with Pro*C stuff
Hi
I have a strange problem with Pro*C code. When I compile my pro c code to generate and using which i generate object file and then executable. When I compile .c -> .o I use the option +Ofast. When I execute the program and fire a test case I get the output as ora-01001 invalid cursor.
Following are the proc flags that i use.
PROFLAGS="DBMS=V7" \
"userid=$(ORA_USER)" \
"MAXOPENCURSORS=40" \
"hold_cursor=yes" \
"release_cursor=no" \
"include=$(HLOGINC)" \
"CHAR_MAP=VARCHAR2" \
"include=$(ORACLE_HOME)/precomp/public" \
"include=$(COMMINC)" \
"include=$(TUXINC)" \
"include=$(CHI2INC)" \
"include=$(INCDIR)" \
"sqlcheck=full" \
"lines=yes" \
"ltype=none" \
"def_sqlcode=yes"
I have tried to increase the maxopencursors to 100, but in vain.
Can anyone please let me know a solution.
I have a strange problem with Pro*C code. When I compile my pro c code to generate and using which i generate object file and then executable. When I compile .c -> .o I use the option +Ofast. When I execute the program and fire a test case I get the output as ora-01001 invalid cursor.
Following are the proc flags that i use.
PROFLAGS="DBMS=V7" \
"userid=$(ORA_USER)" \
"MAXOPENCURSORS=40" \
"hold_cursor=yes" \
"release_cursor=no" \
"include=$(HLOGINC)" \
"CHAR_MAP=VARCHAR2" \
"include=$(ORACLE_HOME)/precomp/public" \
"include=$(COMMINC)" \
"include=$(TUXINC)" \
"include=$(CHI2INC)" \
"include=$(INCDIR)" \
"sqlcheck=full" \
"lines=yes" \
"ltype=none" \
"def_sqlcode=yes"
I have tried to increase the maxopencursors to 100, but in vain.
Can anyone please let me know a solution.
- Tags:
- ProC
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 02:48 AM
06-19-2009 02:48 AM
Re: Problem with Pro*C stuff
It would be better to continue this in your other thread and copy this new info there:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1348628
Since it seems you have an optimization problem, you may want to replace +Ofast by +O2.
Or use +O1=function-name.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1348628
Since it seems you have an optimization problem, you may want to replace +Ofast by +O2.
Or use +O1=function-name.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP