Dear expert,
Kindly help me on the pro* c compiler .
I'm new to pro* compiler.I have written the code in pro*c and name it as .pc file. When i compile it to make .c file in pro c compiler in oracle,i'm getting some error message ..The error as below : - ++: Release 9.2.0.1.0 - Production on Tue Mar 1 17:20:48 2011
-
-
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
-
-
System default option values taken from: C:\oracle\ora92\precomp\admin\pcscfg.cfg
-
-
Semantic error at line 567, column 21, file C:\oracle\ora92\precomp\WaferSleuthV2\ExtractHDBDataForWaferSleuth.pc:
-
EXEC SQL CONNECT :userName;
-
....................1
-
PCC-S-02322, found undefined identifier
-
Semantic error at line 693, column 41, file C:\oracle\ora92\precomp\WaferSleuthV2\ExtractHDBDataForWaferSleuth.pc:
-
WHERE trackouttime BETWEEN :startDate AND :endDate
-
........................................1
-
PCC-S-02322, found undefined identifier
-
Semantic error at line 693, column 56, file C:\oracle\ora92\precomp\WaferSleuthV2\ExtractHDBDataForWaferSleuth.pc:
-
WHERE trackouttime BETWEEN :startDate AND :endDate
-
.......................................................1
-
PCC-S-02322, found undefined identifier
-
Semantic error at line 723, column 35, file C:\oracle\ora92\precomp\WaferSleuthV2\ExtractHDBDataForWaferSleuth.pc:
-
EXEC SQL FETCH wsToCursor INTO :wipStep_SK, :toTime;
-
..................................1
-
PCC-S-02322, found undefined identifier
Kindly help me out how i can avoid this error.
4 11468
undefined identifier in error message suggests you have mis-spelled any of the objects in oracle. (table or column name)
I already declare and having the same issue.I have concern here .Compiling the file in UNIX and window environment will be different?Whene ver i compile it it putty application ,there is no error and able build the file..When i execute the command to extract data,there is no result?How to put error tracing message in pro*c so that we can able to find where the error is occuring ? or put the printf statemant to see the result one by one.Kindly help?
Thanks.
I'm able to compile the file but now there is 1 error still remaining.The error as below.
PCC-F-02081, CMD-LINE: Unterminated option value list or value list was truncated.
I have some question here on how the code is work.
Step1
We write the code in pro*c language.
Step2
Compile the .pc file in pro*c compiler and we will get .c file.
Step3
Run the .exe file in unix environment to get the result
My problem is i would like to debug the code and insert some error trapping message.The code was develop by previous developer.How i can debug the .pc file so that i can see what is happening in behind?should i create log file and etc.
Kindly advice
Hi,
Sys_include is one of the options of the proc so the length of this must be small. Therefore, we must put just the necessary elements for example:
sys_include=($O RACLE_HOME/sdk/include,/usr/include,/usr/lib/gcc/i486-linux-gnu/4.4.3/include) in the file /usr/lib/oracle/11.2/client/precomp/admin/pcscfg.cfg
Regards,
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Dominic |
last post by:
Hi,
I am TOTALLY new to all this stuff and really hope to find help here.
I have to come up with a solution for one of my client.
They use HP-UX and Pro/5
What I'm trying to do:
|
by: Jan Kassens |
last post by:
Hi NG
I've written this little test-program. Why does it open a console/cmd
shell and how to prevent this? Is it a problem with my compiler (Dev-C++
4.9.8.0 from Source-Forge)?
-------------CODE--------------
#include <windows.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR
|
by: Ebay boy |
last post by:
I have recently bought a compiler and I have this sample code that
includes the following:
#include <stdlib.h>
#include <string.h>
#include <time.h>
Unfortunately, my compiler doesn't incude these. So where can I get
these files from? I'm a computer idiot so please be clear. Any help is
|
by: Fahad Ashfaque |
last post by:
qaHi,
I am trying to assign value to a member of object of a struct, the object is
treated under foreach.
I got the error : error CS0170: Use of possibly unassigned field 'price'
according to a thread in same group it is bug with C# 7.0, 7.1
" It is
caused by having semi-large structs or just a large number of structs as
|
by: Binary |
last post by:
VC++ .NET 2003: Access violation with /O2 compiler switch; no AV with /O
Hi
I'm in the process of narrowing down a problem, and I have reduced the code involved to the following
If someone could do the following and verify what I am seeing (and offer any insight!), I would appreciate it
Simply create a new "Win32 Console Project" in VC++...
| |
by: Vijay Jain |
last post by:
Hi All,
We have a requirement to use icc compiler instead of existing gnu
compiler. Though the icc compiler states that libraries compiled with
gnu are compatible to use with icc. But we would prefer to re-compile
the xerces code with icc compiler.
So I would like to know if someone has experience of compiling the
xerces c code with icc...
|
by: tfawcet |
last post by:
I am having a problem with the Visual C++ compiler with the following
error
c:\rgb.h(7) : error C2371: 'pix_t' : redefinition; different basic
types
This refers to a typedef that I have written in the code. The code
will compile with the GNU compiler and I was trying to port it to VC+
+. Here is the typedef as it appears
|
by: empriser |
last post by:
#define XLOG( ... ) \
do{ \
sprintf( SysBuf, " ", curtime(), __FILE__ ,
__LINE__ , __FUNCTION__ ); \
sprintf( SysBuf + strlen( SysBuf ), __VA_ARGS__ ); \
xlog( SysBuf ); \
}while(0)
I compile the with Pro*c, but it gave me the error message... ,
|
by: rajesh.chidambaram |
last post by:
int load_convers_data()
{
char *function = "load_convers_data";
long i;
int j;
int li_return;
char ls_scale_cnstr_dimension_uom = "";
char ls_scale_cnstr_weight_uom = "";
char ls_scale_cnstr_curr = "";
|
by: Kid Programmer |
last post by:
Hello guys. I have a question. What's wrong with my compiler. In a simple number averaging program in a GUI window have way into the project I compile the program and I get the following errors:
Severity and Description Path Resource Location Creation Time Id
The local variable average is never...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |