Can't compile old Cobol Programs with Oracle9i Pro*Cobol.

I'm a Cobol and Oracle greenhorn - so please apologise my question.
Here are the details:
We want to switch our db from
Oracle8i Enterprise Edition Release 8.1.7.0.0
to
Oracle9i Enterprise Edition Release 9.2.0.4.0
If I have the "Oracle 8i client" installed on my developing system (using procob precompiler) my program compiles without problems. Connecting to our old 8i db works fine.
On connecting to our new 9i db my program crashes on the first EXEC SQL statement with:
114 Attempt to access item beyond bounds of memory
So I have installed the "Oracle 9i client" to use the new precompiler
Pro*COBOL: Release 9.2.0.1.0
BUT now I can't execute my program because procob inserts some CALL "ORASQL8" which doesn't exist in my Oracle installation. Maybe ORASQL9 would work, because there are some files with this name in my Oracle dir.
How can I make my NET Express Version 3.1.11 Service Pack 1 work together with Oracle9i?
Here are my current (old) Precompilersettings from the file cobol.dir:
p(cobsql) csqlt=ora8 cbl2ora8 sqldebug end-c ireclen=132 oreclen=132 maxliteral=160 picx=varchar2 p(cp) sy endp copyext (pco,cbl,cpy,cob) osext(pco);
This forum is my last resort. Maybe anyone can help?
Thanks in advance
lual

...solved by myself.
After wasting a lot of time, i've found a quick and dirty solution...
C:\oracle9i\bin\ORASQL9.DLL
duplicated and renamed to ORASQL8.DLL
C:\oracle9i\precomp\lib\msvc\oraSQL9.LIB
duplicated and renamed to oraSQL8.LIB
C:\oracle9i\precomp\lib\orasql9.lib
duplicated and renamed to orasql8.lib
...now my old programs run again without errors.
lual

Similar Messages

  • Can I change background of program with a desired picture?

    Hi
    Can I change background of program with a desired picture? how?
    Solved!
    Go to Solution.

    Hi behzad,
    to requote my message #2: Right-click the right window scrollbar (VI in edit mode) and select "properties"…
    What don't you understand of this?
    When you don't trust me you should read the LabVIEW help on this topic!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • HT1343 On my 4 1/2 year old Macbook I could select multiple files  by highlighting a file and then moving cursor over a file lower in the list, and pressing shift-control-click. I can't do that in now with Mac Pro.  What am I doing wrong?

    ghlighting a file and then moving cursor over a file lower in the list, and pressing shift-control-click. I can't do that in now with Mac Pro.  What am I doing wrong?

    Holding down the control key will invoke "right-click."
    Depending on the View, holding down Shift will with either toggle the selection (Icon View), or it will make a continuous selection from the previous selection (List View or Column View).
    The only way to make a continuous selection in Icon View is to drag out a selection marquee around or through the icons.
    I can't remember the behavior of previous OS's.

  • I was wondering if mac mini can transmit  file (share ) files/  photos with mac pro/ ipad where there is  no internet

    I was wondering if mac mini can transmit  file (share ) files/  photos with mac pro/ ipad where there is  no internet

    http://www.imore.com/instashare-iphone-and-ipad-review
    For more Google for:
    bluetooth transfer between ipad and mac

  • Problem with compiling STL using program with Forte C++ 6 update 1 in compat mode

    I try to compile SGI STL using program with Forte C++ 6 update 1 and I get an errror
    ld -L/opt/SUNWspro/WS6U1/lib -liostream test.o -o test
    Undefined first referenced
    symbol in file
    __0oNIostream_initctv test.o
    __0oNIostream_initdtv test.o
    Iostream_init - declared as a static class CC4/iostream.h, but nm libiostream.a produce
    __1cNIostream_init2T6M_v_
    __1cNIostream_init2t6M_v_
    and program can't link.
    What's wrong?
    Thank you for any comments

    Hi!
    I experienced the same problem and the solution looks like the following: in sunpro6.mak file there is a variable STL_INCL that has the following value: -I. -I${PWD}/../stlport
    Change that to -I. -I${PWD}/../stlport/SC5 and the problem vanishes. The reason is that stlport/SC5 contains files *.SUNWCCh which are used by SUNpro C++ compiler as standard headers and contain correct STLPort namespace information.
    Regars,
    Art

  • Can we schedule a concurrent program with in a request set

    HI,
    I have a requirement that to schedule a concurrent program in a request set after completing the another request with in the set
    ie i have request set with two concurrent programs and each concurrent program having two parameters for each
    if i submit the request set once
    the first programs completes successfully after completing the first program i need to schedule the second concurrent program with the same parameter values of the first parameter
    is it possible if yes how it can be done
    Regards
    DRK

    Ripendra durgam wrote:
    HI,
    I have a requirement that to schedule a concurrent program in a request set after completing the another request with in the set
    ie i have request set with two concurrent programs and each concurrent program having two parameters for each
    if i submit the request set once
    the first programs completes successfully after completing the first program i need to schedule the second concurrent program with the same parameter values of the first parameter
    is it possible if yes how it can be done
    Regards
    DRKI believe it is not possible.
    Thanks,
    Hussein

  • Can't control "old" Apple TV with HD given to me by a friend.

    I have an new "old" Apple TV with HD given to me by a friend. I have turned it on but cannot control it. When it turn it on all I can see is the menu. I can't move through menu's to connect to my wifi or open movies. Then the screen saver comes up and using the remote doesn't do anything. Will I need to reset the device? I have tried two remotes, both don't do anything. The light on the front is showing yellow.

    http://support.apple.com/kb/ht1555

  • Where can I download iTunes 10.1 so I can sync my old iPod touch with my G4 running 10.5.8

    Where can I download iTunes 10.1 so I can sync my old iPod touch (4.2.1) with my G4 running 10.5.8 ?
    I have not found a link on the Apple support site. although there do seem to be links to download many older versions of iTunes.
    Any help would be appreciated.

    Hi varjack,
         Thank you for your suggestion. For a number of reasons I choose not to upgrade to iTunes 6.3. As this G4 is running slow (it's over eleven years old) I have made a decision to avoid any software upgrades on my 'legacy' applications.Not only will any new software strain the resources of the G4, but I do not think it a good idea to put a lot of features into my machine that it is not capable of utilizing. The iPod touch (I have been prompted by iTunes) will communicate with my G4 if I have iTunes 10.1. That is the solution I continue to seek.
         As far as the iTunes Store goes, I do not use it. One reason is that my iPod touch cannot run many of the new Apps (I'm also unable to find legacy Apps, though I haven't tried lately) and I'm not going to run out and buy a new device from Apple so I can. I just don't care enough.
    Thanks

  • Can's compile the gdbm program ?(SOLVED)

    Here is an example comes from Beginning Linux Programming 3rd ,and I can't compile it on my machine. I don't know why?? And the gdbm package is always in the base. Please help me.
    try compile 1:
    $gcc dbm1.c -o gdbm1 -lgdbm
    错误信息:
    /tmp/cc2vMknU.o: In function `main':
    dbm1.c: (.text+0x2d): undefined reference to `dbm_open'
    dbm1.c: (.text+0x244): undefined reference to `dbm_store'
    dbm1.c: (.text+0x2ee): undefined reference to `dbm_fetch'
    dbm1.c: (.text+0x379): undefined reference to `dbm_close'
    collect2: ld returned 1 exit status
    try compile 2:
    $ gcc dbm1.c -o gdbm1 -lndbm -L/usr/lib
    错误信息:
    /usr/bin/ld: cannot find -lndbm
    collect2: ld returned 1 exit status
    #include <unistd.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include <ndbm.h>
    #include <string.h>
    #define TEST_DB_FILE "/tmp/dbm1_test"
    #define ITEMS_USED 3
    /* A struct to use to test dbm */
    struct test_data {
    char misc_chars[15];
    int any_integer;
    char more_chars[21];
    int main() {
    struct test_data items_to_store[ITEMS_USED];
    struct test_data item_retrieved;
    char key_to_use[20];
    int i, result;
    datum key_datum;
    datum data_datum;
    DBM *dbm_ptr;
    dbm_ptr = dbm_open(TEST_DB_FILE, O_RDWR | O_CREAT, 0666);
    if (!dbm_ptr) {
    fprintf(stderr, "Failed to open database\n");
    exit(EXIT_FAILURE);
    /* put some data in the structures */
    memset(items_to_store, '\0', sizeof(items_to_store));
    strcpy(items_to_store[0].misc_chars, "First!");
    items_to_store[0].any_integer = 47;
    strcpy(items_to_store[0].more_chars, "foo");
    strcpy(items_to_store[1].misc_chars, "bar");
    items_to_store[1].any_integer = 13;
    strcpy(items_to_store[1].more_chars, "unlucky?");
    strcpy(items_to_store[2].misc_chars, "Third");
    items_to_store[2].any_integer = 3;
    strcpy(items_to_store[2].more_chars, "baz");
    for (i = 0; i < ITEMS_USED; i++) {
    /* build a key to use */
    sprintf(key_to_use, "%c%c%d",
    items_to_store[i].misc_chars[0],
    items_to_store[i].more_chars[0],
    items_to_store[i].any_integer);
    /* build the key datum strcture */
    key_datum.dptr = (void *)key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum.dptr = (void *)&items_to_store[i];
    data_datum.dsize = sizeof(struct test_data);
    result = dbm_store(dbm_ptr, key_datum, data_datum, DBM_REPLACE);
    if (result != 0) {
    fprintf(stderr, "dbm_store failed on key %s\n", key_to_use);
    exit(2);
    } /* for */
    /* now try and retrieve some data */
    sprintf(key_to_use, "bu%d", 13); /* this is the key for the second item */
    key_datum.dptr = key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum = dbm_fetch(dbm_ptr, key_datum);
    if (data_datum.dptr) {
    printf("Data retrieved\n");
    memcpy(&item_retrieved, data_datum.dptr, data_datum.dsize);
    printf("Retrieved item - %s %d %s\n",
    item_retrieved.misc_chars,
    item_retrieved.any_integer,
    item_retrieved.more_chars);
    else {
    printf("No data found for key %s\n", key_to_use);
    dbm_close(dbm_ptr);
    exit(EXIT_SUCCESS);
    Last edited by 009lin (2007-08-19 02:29:54)

    GDBM includes dbm and ndbm compatability.
    I found the solution from the man page, it said:
    If you wish to use the dbm or ndbm  compatibility  routines,  you  must
           link in the gdbm_compat library as well.  For example:
                gcc -o prog proc.c -lgdbm -lgdbm_compat
    Last edited by 009lin (2007-08-19 02:29:27)

  • Can ichat on old system work with facetime on new system?

    Can ichat on older macbook communicate with facetime on new macbook pro?

    While we all have MacBooks in this forum not all of us use FaceTime. There's a FaceTime Support Community where everybody uses FaceTime. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/mac_app_store/facetime_for_mac

  • Why can't I play VEVO videos with McTube Pro on my iPad?

    Until recently VEVO music videos would play fine on my iPad and iPhone 5 with McTube Pro. I only noticed this week that they won't play anymore besides the ones I have already saved to the cache.
    I get this error every time I try to access any VEVO video or channel.
    "Playback Failed. You do not have permission to access the requested resource."
    Since I have tried numerous times on two iOS devices and it doesn't work on either of them, I assume it's nothing to do with my devices specifically.
    The videos work on the YouTube app and YouTube itself, just not McTube Pro. I wouldn't mind so much if only YouTube didn't have so many ads, some that can't even be skipped.

    Thanks. 16 people and many more have this issue as well, so I have no doubt that it's not my iPad.
    I checked the app store and saw that they have now removed the paying feature, so it's an entirely free app now. I'm also told I have never downloaded this app despite having it on all my devices, so I suspect it is being treated as a new app after those updates. That would explain why some people ended up paying twice at first.
    I'm afraid that the issue won't ever be resolved now that they have stopped working on the "old" McTube Pro that, for many of us, still supports caching.

  • Can I connect every USB-Audiointerface with Logic Pro?

    Hello there,
    please forgive me, if my english isn't so well.
    So, my "problem": I actually informated me over Logic Pro X, and by the provided Audiointerfaces, I didn't saw my Audiointerface.
    But - Can I simply connect a USB-Audiointerface with Logic Pro?
    So, hope you understand me,
    Best wishes, "toasbrot_55" (sorry for that name, i don't know when I did chosen this name)

    All Mac OS compatible audio interfaces work with Logic, and almost all USB interfaces are Mac compatible. So it depends on which interface you have (make and model), and which Mac OS version you use.

  • Can I use digi 003 console with logic pro 10 ???

    I have the new mac pro with new os mavrik and
    I have the digi 003 console work with pro tools 10 perfect
    I want to work with logic pro 10 and I don't know if it work with my digi 003 console
    Please help me

    Hi again Bill,
    Something very strange has happened this morning. I was using Logic and thought 'I'll just plug in the TASCAM again to see if anything happens' and it just worked straight away. This is most peculiar as I didn't do or press anything to make it work. Yesterday when I was trying to get it to work, I closed the program and restarted the computer several times are making adjustmemnts but it just wasn't working at all. It seems a good night sleep has gievn it time to think things through lol.

  • Can i use my digidesign 002 with logic pro 9

    Hi does anyone know if i can use a 002 to interface with
    with logic

    You will have to check with AVID/Digidesign to see if they have Core Audio drivers available for Mountain Lion.
    Logic is Core Audio compatible so an interface has to have Core Audio drivers that are compatible with the operating system they wish to use it on.

Maybe you are looking for

  • WRTSL54GS with Windows Vista Beta 2

    I can't access my external HD through Windwos Vista Beta 2. I get an access denied message.

  • How to open, edit, and save XML

    I hav a problem in creating jsp file that can open, edit, and save xml!Anyone can help me?!!!

  • Printr driver - can't download

    I have been trying to dowload a new driver from the HP Support & Drivers pages. When I select Download for the follwoing driver (and some other, related ones), I get Page Not Found at the ftp site. HP Universal Print Driver for Windows PCL5 5.0 16 Ju

  • Invalidate on output node

    Hi guys, I try to delete all data from my table using the method invalidate on the output node. Nothing happens. If I do the same for the root node then all data get deleted as expected. My question: why does output node stay the same after applying

  • Someone is spamming me please help.

    thanks. you know, i was wondering why they where saying i needed credit card information. now it makes sense.