Compiling of pro*C applications

when i am compiling pro*c application - I am getting the error
"internal error failed assertions (PGE Code 90105)"
what will be the cause> sir
my os is sun 6500 and oracle is 8.0.5.
thank u
suryanarayanan chief accounts officer bsnl chennai telephones chennai india

Hi,
I have never done the migration from 7.3 to 9i. But I had done 8.0 to 8i and 8i to 9i.
Pl/SQL code should work fine as it is. I wonder what will happen if you have any variables declared VARCHAR (not VARCHAR2) ? There can be few places like that, if the application was originally written on Oracle 6.Otherwise, the code should work as it is.
Regarding Pro*C, you need to use the new make file which has come with 9i.
Also, I do not remember exactly, but probably, you need to initialize all VARCHAR veriables declared between BEGIN DECLARE SECTION and END DECLARE SECTION. Initialize all of them with \0 (NULL charactor).
I think that should be enough for 7.x application to run on 9i.
Regards

Similar Messages

  • Error compiling a pro c program

    I am having the following error when I compile a pro c program. Any hints will be appreciated
    diamond:/home/rechever$ make -f $BANNER_HOME/general/c/sctproc.mk rzrload CHECKOPT='sqlcheck=full userid=baninst21/xxxxx'
    proc iname=rzrload.pc ireclen=132 oreclen=132 lines=y select_error=no hold_cursor=no release_cursor=no maxopencursors=255 maxliteral=160 ltype=none include=/u02/sct/banner/bandev2/general/c/ include=/u02/sct/banner/bandev2/general/c/ dbms=v8 unsafe_null=yes sqlcheck=full userid=baninst21/xxxxx
    Pro*C/C++: Release 10.2.0.3.0 - Production on Wed Oct 29 16:40:31 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/OH4/10g/precomp/admin/pcscfg.cfg
    INTERNAL ERROR: Failed assertion [PGE Code=90105]
    make: 1254-059 The signal code from the last command is 11.
    Edited by: user648177 on Oct 29, 2008 2:04 PM
    Edited by: user648177 on Oct 29, 2008 2:05 PM

    That's Pro*C's way of telling you that you don't have write access to the directory you're precompiling in.

  • Can't find table in PRO*C application.

    it is a ORACLE 10g (10.2.0.3.0)
    I programed a pro*c application that has many querys.
    Application runs very nice for many many days.
    Some day, application can't run because oracle error occured.
    I dumped trace file it in ORACLE.
    ======================================================
    The following statement encountered a error during parse:
    select count(*) into :b0:b1 from CELLS_AREA
    Error encountered: ORA-00942
    but There were CELLS_AREA table in the database and I could see it in sqlplus.
    sqlplus
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Oct 14 17:39:40 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter user-name:
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning and Data Mining options
    select count(*) into :b0:b1 from CELLS_AREA
    2 ;
    COUNT(*)
    3700
    ======================================================
    It was very strange but i solved this problem.
    Application was run after change query to "select count(cc_id) from CELLS_AREA".
    I think this is ORACLE bug!!
    How think about you?
    Thanx you.
    Edited by: nayalee on 2009. 10. 14 오전 1:48
    Edited by: nayalee on 2009. 10. 14 오전 1:49

    Simple: If it doesn't show up, your system doesn't support it. Both programs require a 64bit operating system like windows 7 or OSX 10.6.8 at least.
    Mylenium

  • How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

    Hi Experts,
    How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??

    Can you give us some more information? Background jobs primarily don't have anything to do with Webdynpro.

  • XML function not getting compiled in Pro C

    Hello
    I have written following statement in ProC
              EXEC SQL
              select extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal(),
    extract(x.xml_data,'//ADDRESS/SERVERS/text()').getNumberVal()
              INTO :h_refsystem,
              :h_reftext
    from xml_str_table x
    where key_no = 1234
    and x.xml_data.existsNode('//ADDRESS/SERVERS[@REFSYSTEM="ORACLE"]') = 1 ;
    and when compiled it give error " extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal()
                                                      *. should be replaced with date, time etc*
    Above query is returning output when I run on Oracle, but same code is not getting compiled in Pro C. Can you please advise what should be done to resolve this issue?
    Thanks in advance,

    Hello!
    I found out that the problem was not in the variable os_create_id as I described before, instead in the another variable, l_temp_sku.
    But a strange behaviour persists.
    The program aborts strangely, if the following variable l_temp_sku isn't initialised like this:
    l_temp_sku[0] = '\0'; (if this is done the pro*c runs ok)
    This variable gets it value from a Output variable of the package called, and these have the same length, as you can see above.
    In the old machine (version 8.1.3.0 as already mentioned) it worked fine without initialisation.
    The (strings) precompiler options are the following:
    dbms=v8
    char_map=string (We already tried to change this to VARCHAR2)
    My questions are:
    Is this a normal behaviour or is this a non documented feature (bug) ?
    Is there any precompiler option that solves this kind of problems ?
    We have lots of Pro*C´s with situations like this one, our problem is if all these programs start to blow without warning. Only after lots of time spent around this Pro*C we found where was the problem, and what kind of problem.
    /* Code Extract: */
    char ls_error_msg[NULL_ERROR];
    EXEC SQL VAR ls_error_msg IS STRING(NULL_ERROR);
    char l_temp_sku[NULL_SKU];
    EXEC SQL VAR l_temp_sku IS STRING(NULL_SKU);
    EXEC SQL EXECUTE
    DECLARE
    L_table VARCHAR(50) := NULL;
    L_sub_sku WIN_WH.sku%TYPE := NULL;
    L_avail_stock WIN_WH.STOCK_ON_HAND%TYPE := NULL;
    O_error_message VARCHAR2(255) := NULL;
    BEGIN
    if NB_SUB_SKU_SQL.NB_F_CHECK_SUB_SKU(:os_sku,
    :os_from_loc,
    :os_to_loc,
    :os_tsf_no,
    :os_tsfalloc_no,
    :os_create_id,
    to_date(:os_system_date,'YYYYMMDDHH24MISS'),
    L_sub_sku,
    L_avail_stock,
    O_error_message) = FALSE then
    :plsql_pkg_failed := -1;
    :plsql_pkg_message := O_error_message;
    SQL_LIB.BATCH_MSG(:ol_sql_holder,
    L_table,
    :plsql_pkg_message);
    :table := L_table;
    else
    /* Only if ret true and the sub sku, everything its ok */
    if L_sub_sku IS NOT NULL then
    :l_temp_sku := L_sub_sku;
    :plsql_pkg_failed := 0;
    Best Regards,
    JAP

  • How to run Pro*C application with Instant Client in Oracle 10g

    i am try to run but Pro*C application give error orasql10.dll
    i have downlod Instant Client in Oracle 10g from site. i have unzip and maked environmental virable in PC.
    but application not run. given error orasql10.dll .......
    my problem is thrat i want to run Pro*C application with Instant Client in Oracle 10g .....
    oracle say that run but how........

    According to this thread, it does not work on Windows:
    Does Instant Client 10.1.0.4 for Windows 32 support ProC ?

  • Compile some Pro*c

    Hello,
    I try to compile some Proc*c but I receiving the following errors:
    stgorl80.pc
    stgorl80.o(.text+0x8db): In function `daemonize':
    : undefined reference to `errno'
    collect2: ld returned 1 exit status
    make: *** [stgorl80] Error 1
    COMPILE_ERROR IN stgorl80.pc
    stgorl85.pc
    stgorl85.o(.text+0x9e3): In function `daemonize':
    : undefined reference to `errno'
    collect2: ld returned 1 exit status
    make: *** [stgorl85] Error 1
    COMPILE_ERROR IN stgorl85.pc
    stngtp90.pc
    stngtp90.o(.text+0x944): In function `process_ex_later':
    : undefined reference to `errno'
    stngtp90.o(.text+0xc7d): In function `process_ex_later':
    : undefined reference to `errno'
    stngtp90.o(.text+0xd10): In function `process_ex_later':
    : undefined reference to `errno'
    collect2: ld returned 1 exit status
    make: *** [stngtp90] Error 1
    COMPILE_ERROR IN stngtp90.pc
    stscap10.pc
    stscap10.c: In function `open_all_ports':
    stscap10.c:1998: warning: large integer implicitly truncated to unsigned type
    stscap10.c: At top level:
    stscap10.c:2453: warning: `State_init' initialized and declared `extern'
    stscap10.c:2521: warning: `State_append1' initialized and declared `extern'
    stscap10.c:2597: warning: `State_append2' initialized and declared `extern'
    stscap10.c:2656: warning: `State_delete' initialized and declared `extern'
    stscap10.c:2682: warning: `State_close' initialized and declared `extern'
    stscap10.o(.text+0x1b8e): In function `sys_err':
    : `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
    stscap10.o(.text+0x1b82): In function `sys_err':
    : `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
    stscap10.o(.text+0x1b58): In function `sys_err':
    : undefined reference to `errno'
    stscap10.o(.text+0x1b74): In function `sys_err':
    : undefined reference to `errno'
    stscap10.o(.text+0x1b7c): In function `sys_err':
    : undefined reference to `errno'
    collect2: ld returned 1 exit status
    make: *** [stscap10] Error 1
    COMPILE_ERROR IN stscap10.pc
    sttilp10.pc
    make: *** [sttilp10] Error 1
    COMPILE_ERROR IN sttilp10.pc
    Can anyone help me?
    Many thanks,
    Carlos

    I had exactly the same problem with the PCC-F-NOERRFILE error.
    I think that my oracle installation didn't go completely
    smoothly and that's why certain files did not seem to be
    properly installed, but here's what I did to get past the
    error:
    Go to the directory where your oracle distribution is before
    it was installed. That is /usr/prod/oracle on my system, and
    it's probably different on yours. Look at the message files in
    precomp/mesg. Chances are, these files were not completely
    installed during the installation. I copied them by hand into
    the target directory of my installatio, which is
    /usr/u01/oracle/product/8.0.5/precomp/mesg on my system. Now I
    am able to run proc without any problem.
    Hope that helps.
    Simon
    Matt Miller (guest) wrote:
    : I have just finished installing 8.0.5.1 on RedHat 5.2 and
    setting
    : up a database. Everything works well after installing the
    : glibcpatch. Now I want to compile some Pro*C programs but proc
    is
    : not found in the $ORACLE_HOME/bin directory. The oracle
    install
    : program, orainst, says that it was installed. The
    : $ORACLE_HOME/precomp directory looks OK except it was missing
    : the
    : /admin/pcscfg.cfg file which I have now created according to
    : instructions I found in the 8.0.5 FAQ. I found the proc
    : executable in the distribution directory and copied it into my
    : bin directory.
    : When I run it, I get the following message:
    : "PCC-F-NOERRFILE, unable to open error message file, facility
    : PR2"
    : Can anyone help me get the Pro*C installed correctly or am I
    : just not using it correctly?
    : I am not experienced with Pro*C, but very familiar with Oracle
    : Server.
    : Thanks in advance
    : matt
    null

  • I just bought the new ipod and the NFL pro 2013 application doesn't open eventough it use to work very well, can you help me?

    I just bought the new ipod and the NFL Pro 2013 application doesn't work eventhough it use to, can you help me?

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Restore from backup. See:
    iOS: How to back up
    Restore to factory settings/new iPod
    iOS: How to back up your data and set up as a new device

  • Compiling a large scale application

    I have recently aquired a large scale application with nearly 300 .java files. The problem I'm having is compiling such a large application where every class seems to be dependent on other classes and packages. Is there a simple solution to compiling such an app or do I have to use brute force and trial and error until I get all the packages and files compiled? The route I am taking now is going to each folder and making txt files that I pass to javac ("javac @currdir.txt") and if i get linking errors, track those files down and try to compile them first.
    thanks in advance,
    Bosco

    There are numerous tools out there that will help you, and most IDE's have some notion of a "project"--a set of files that goes together and that may depend on each other.
    Personally I like ant, from the fine people at Apache/Jakarta.
    http://ant.apache.org/

  • I've just subscribed to Acrobat Pro. Application manager is on desktop, but no Pro. When I open a PDF to edit, it's just Reader. What do i need to do to get the Pro?

    I've just subscribed to Acrobat Pro. Application manager is on desktop, but no Pro. When I open a PDF to edit, it's just Reader. What do i need to do to get the Pro?

    Link for Download & Install & Setup & Activation problems may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

  • Pro Oracle Application Express

    John, I could send you an email, but I'm sure quite a few other visitors might also be interested in your answer.
    When will your book be published?

    Hello Johannes.
    Take a look at..
    Pro Oracle Application Express - Book
    Take a ticket and join the queue.
    Lots of people want to know. :-)
    Simon.

  • Sqlora11.dll not found when running Pro*C application on 11g server

    Hello,
    Here is my environment:
    Workstation: Windows XP (32bit) with Oracle Client 11g 32bit
    Server: Windows 2003 server 64bit with Oracle 11g 64bit
    I have a Pro*C program that I have been able to pre-compiled, compiled and linked on my workstation using Mingw/gcc compiler and standard include files (sdtio.h...) from MS Visual C++ 2005 Express Edition.
    Precompilation: E:\app\oracle\product\11.1.0\client_1\BIN\proc.exe iname=Fill_Translated.pc oname=Fill_Translated.c userid=xxx/yyy@my11gDB code=ansi_c parse=full mode=oracle dynamic=oracle lines=yes sqlcheck=semantics errors=yes sys_include="C:\Program Files\Microsoft Visual Studio 8\VC\include" include=("E:\app\oracle\product\11.1.0\client_1\precomp\public","E:\app\oracle\product\11.1.0\client_1\oci\include")
    Compilation: c:\mingw\bin\gcc.exe -c Fill_Translated.c -o Fill_Translated.o -Wall -I E:\app\oracle\product\11.1.0\client_1\precomp\public -I E:\app\oracle\product\11.1.0\client_1\oci\include
    Link: c:\mingw\bin\gcc.exe -o Fill_Translated.exe Fill_Translated.o -L E:\app\oracle\product\11.1.0\client_1\precomp\LIB\ -lorasql11
    The result is an executable file that gets connected to an 11g database hosted on a w2003 64-bit server, opens a table with blob fields and expands the blob content into a target table (one blob source record generates thousands of target records). Everything works fine when running from my workstation.
    For some reasons, this executable file must run on the O11g server itself. So I copied and pasted the executable file on the server and tried to run it. I thought it would work...
    But I get the following error message in a popup window: This application has failed to start because orasql11.dll was not found. Re-installing the application may fix this problem.
    At this point, I do not know anymore what to do to solve this problem !
    Does it come from the fact that the complete build have been done on a Windows 32bit platform and the server is a 64-bit platform ?
    Do I have to install a O11g 64bit client on my server to make it work ?
    Do I have to rebuild everything from the server, meaning that I must install a kind of development environment on my server (Mingw/gcc and so on) ?
    Is there something to change in the registry of the server or in the path environment variable so that this dll is found ?
    Any others ideas ??
    Thank you for your answers.

    Actually, I do not have any O11g client installed on my Oracle server. But the DLL exists in my $ORACLE_HOME/lib on my server, more precisely in E:\app\dev_ora\product\11.1.0\db_1\BIN.
    As I built my executable file on a win32 platform with O11g client 32bit installed, I was wondering if the same executable file copied onto the server was not trying to find the relevant 32 bit library on my win64 platform, which of course does not exists as I have only a 64bit version of this library !! Would-it be the cause of the problem ?
    Does an O11g 32bit client installation on my Oracle 11g 64bit server would solve the problem ? Any inconvenient to have on the same server both an O11g 64bit server and an O11g 32bit client if it appears to be the solution ?

  • Old 8i Pro C applications against XE

    I have an old c++ application that is complied using the 8i Pro C compiler.
    The database this connects to I have successfully ported to XE.
    The application fails when running against XE.
    I cannot see any mention of Pro C support in XE.
    Can anybody point me in the right direction.

    Antony,
    this problem seems to appear already when connecting against an Oracle 9i instance.
    I have found the following note on Metalink: 8i AND 9i INTEROPERABILITY PROBLEMS WITH PROC PROGRAMS ( https://metalink.oracle.com/metalink/plsql/f?p=130:3:8140580679946174009::::p3_database_id,p3_docid,p3_show_header,p3_show_help,p3_black_frame,p3_font:NOT,160536.1,1,1,1,helvetica)
    The suggested workaround for you would be:
    ===> WORKAROUND FOR 8i CLIENTS RUNNING AGAINST 9i SERVER
    For 'HEAP ERROR 17177' problem, recompiling the program with PREFETCH=0 option
    problem disappears. But this is not accepted by some customers due to performance affect.
    make -f demo_proc.mk build EXE=sample10 OBJS=sample10.o PROCFLAGS="PREFETCH=0"
    or
    Apply patchset 8.1.7.3 in client code
    I would rather apply the latest patch, i.e. 8.1.7.4.
    Hope that helps,
    ~Dietmar.

  • Premiere Pro, The application was unable to start correctly (0xc00007b)

    Problem installing Premiere Pro CS6 from creative cloud.  Downloaded and installed without error.  When I launch app, I get error message.
    the application was unable to start correctly (0xc00007b)
    I have installed Photoshop and Audition with no problem.
    Windows 7 Home Premium 64 bit OS.

    you can refer : http://forums.adobe.com/message/4851007

  • Compilation problem in Oracle Application Server (9.0.x)

    Hi All,
    I have a JSP Page, with more than 200 controls, arranged in a tabs. When I try to run this file under Tomcat or JBoss, it runs fine. But when I run it in Oracle 9iAS (9.0.x), it fails to run. The difference is in the way the servlet is generated from the JSP file. In case of Tomcat and JBoss, the generated java file contains multiple methods for each component, so it runs fine. But in case of Oracle Application Server, the generated file has only one method jspService, which contains all the code. Because of this, the JVM throws an error saying "code too large public void jspService(HttpServletRequest request... ".
    Can anyone help me on this issue? Do you know of any configuration setting for the compiler?
    Thanks and Regards,
    Aniket.

    Wich processes don't start? do you have this services in Automatic?
    Can you try to pass the to manual, and start the procs suing opmnctl command and check the logs of it?
    Regards

Maybe you are looking for

  • How do I install a fresh Thunderbird that does not keep the old settings

    I have thunderbird with a mish mash of folders etc. I just want it to copy my folders in OUTLOOK that I originally did a few years ago. But I stopped using Thunderbird for awhile and went back to OUTLOOK. Now the Thunderbird and Outlook folders are t

  • How to achieve Number Ranges in third party CRM tool and in SAP CRM

    Hello Guru's, My business requirement is I have to create LEAD from third party CRM tool to SAP CRM and vice versa i want to maintain number ranges for created lead in both side. How can I achieve this please provide me your valuable suggestions and

  • Condition on Mapping in Repeating Records

    Hi, This is my map file : My input file is as follows: <ns0:Root xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003/aggschema">   <InputMessagePart_0>     <ns1:Response xmlns:ns1="http://Interplx_ndPhase.SourceSchema">       <Employees>         <Em

  • Display on screen scratched on the inside?

    My MacBook pro (13 inch retina) is currently experiencing severe issues with the display. There seems to be what looks like a fine, white  horizontal scratch on the bottom left of the screen, yet there is no visible external scratch. The issue has ca

  • How to get any event occurs inside inline frame .

    Hi All, I have configured some url in af:inlineFrame component . This url is pointing to a webapplication which is hosted on different server . If i want to know all the activity what is happening insde inlineframe component which event i need to han