Environnement with pro-cobol and linux redhat

Hi,
I have a linux redhat Linux 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
and oracle 11g database where we have installed Pro-cobol with a launcher xframe ( not me !)
we want to use command-line with pro-cobol :
exemples :
export COBOLOPTS="-dy -shared -M -lxconv -L$XFRAMEHOME/lib -I $PWD -WC,""DLOAD"" -WC,""SOURCE"" -WC,""COPY"" -WC,""XREF"" -WC,""FLAG(E)"" -WC,""MODE(STD)"" -WC,""ALPHAL(WORD)"" -WC,""NOTRUNC"" -WC,""NOSDS"" -WC,""SRF(FIX)"" -WC,""MAP"" -do ./ -dp ./ "
cobol -o OV1SLSP.e OV1SLSP.pre OV1MADR0.o $ORACLE_HOME/precomp/lib/cobsqlintf.o OV1MADR1.pre.o OV1MSNT0.pre.o 2> OV1SLSP.errors
execution:
OV1SLSP.e
results
Erreur de segmentation
we have a this error.
but when we use xframe launcher :
execution:
xrun OV1SLSP
results
XRUN: STARTING OV1SLSP
OV1MADR0 PLANTAGE SQL RNVP : -1012
SQLERRMC ORA-01012: non connecté
COBOL:rts: HALT: JMP0015I-U [PID:000004A0 TID:B7FFC940] CANNOT CALL PROGRAM 'COBCANC'. xvsamRts: undefined symbol: COBCANC PGM=OV1MADR0
XRUN: TERMINATED WITH CODE 134
=>This message is normal because we have connect to database !
It's working perfect.
My question is : what is the correct librairies to have to make static compiling pro-cobol's programs?
hope to be cleared.
Thanks.
Edited by: french_dam on 28 janv. 2011 10:07
Edited by: french_dam on 28 janv. 2011 10:11

Have you checked the system requirements for using Pro-Cobol with Oracle 11g and Linux? See here:
Pro*COBOL® Programmer's Guide 11g Release 1 (11.1)
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28428/pcoabops.htm#insertedID1
Hope this helps,
Ben

Similar Messages

  • Error: Writing LOB with Pro*COBOL

    Hi,
    I'm trying to write an Oracle CLOB object using a COBOL application and Pro*COBOL. The following code is quite similar to the Oracle Documentation Example. However, I would always get the fatal error
    Attempt to access item beyond bounds of memory (Signal 10)
    Here's my code (erased the EXEC SQL...END-EXEC for readability):
    ALLOCATE :WC-MESSAGE-TXT
    SELECT MESSAGE INTO :WC-MESSAGE-TXT
    FROM T_MESSAGE
    WHERE ID = :WV-ID
    FOR UPDATE
    LOB WRITE :WC-MESSAGE-LEN
    FROM :WV-MESSAGE
    INTO :WC-MESSAGE-TXT
    FREE :WC-MESSAGE-TXT
    Can anyone help, please!
    Thanks, Ulf

    Have you checked the system requirements for using Pro-Cobol with Oracle 11g and Linux? See here:
    Pro*COBOL® Programmer's Guide 11g Release 1 (11.1)
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28428/pcoabops.htm#insertedID1
    Hope this helps,
    Ben

  • Pro*Cobol and DBMS_OUTPUT.PUT_LINE

    I am new to Pro*Cobol and had a simple question (I hope).
    I have a stored proc that contains DBMS_OUTPUT.PUT_LINE stmts
    and I can see those in SQLPlus (when serveroutput=on), but I do
    not see them when I call it from Pro*Cobol. Is there a
    precompiler setting or something I need to set?

    'Far as I know, you'll have to repeatedly call
    dbms_output.get_line in your Pro*Cobol program to
    get the server output generated by your stored procedure.
    Hope that helps.
    All the best
    Michael

  • Personas suddenly not working Firefox 30, 31, 32 on Win 7 Pro x64 and Linux Mint 16 x64

    Personas which have been working for a long time suddenly quit working on Win 7 and Linux. I tried changing to a different persona to change the background for the top border of the window and it just goes to some odd color and the personas just don't show up. This has been with Firefox 30, 31, 32. The personas still work with Win XP Pro run as a virtual machine on Win 7 host or Win 8 host. I thought it was a Windows thing until I saw the same problem with Linux. Everything else seems normal so this isn't a real bad problem. It's just odd.

    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • Problem with java, ASCII and Linux

    Hi Friends,
    I has a Linux RedHat 9.0 with a jre1.5.0_04 (rpm package of Sun).
    I has a problem with ASCII , for example :
    import java.io.*;
    public class HolaMundo
    public static void main (String[] args)
    System.out.println("Hol� M�ndo");
    this programs runs ok on my windows jdk so it prints "Hol� M�ndo", but when i run the same HolaMundo.class program on my linux redhat it prints "Hol�� M��ndo"
    I think the problem is with the ASCII table that uses the linux version of jre, but i dont know how to solve this problem. I need a Spanish-European ASCII table on my application but i think it is working with a US-ASCII table.
    Then i has installed a kaffe 1.0 (rpm) java machie on this linux and this solve the problem but i has another problems of compatibility with this old version of java kaffe.
    Do you know whats happening?
    Thanks in advance.

    The problem doesn't have to do anything with Java or Linux as far as i can see. It's more likely a problem with Windows XP and IE. Be assured that normally downloading the Linux JDK in windows is not a problem.

  • I bought Logic Studio from a pawn shop with Pro Tools and an iLok. It didn't include the serial numbers, which I thought were on the iLok. Is their any way to us this as an upgrade from like eBay?

    Can I buy a used version of Pro Tools with the serial numbers from eBay, then istall Pro Tools and Logic I bought from a pawn shop using them as an upgrade?

    If it sounds fishy, it probably is. Serial numbers from eBay typically don't work, because they are stolen, reused, etc. Logic Pro has nothing to do with iLok. And Apples doesn't offer cross-grades or upgrades anymore. If you want their software you go to the Mac App Store application and buy it. That's the only way.

  • Driver for 845pe max2 for Wondows 2003 and Linux Redhat 9 for the Raid

    I Have a 845pe max2 and I install the o.s Windows 2003 and I use the drivers of windows 2000 it looks that is working ok but it is not certify can any one tell me where I can download the new drivers for Windows 2003 and for Linux redhat 9

    for linux:
    The distributions usually have most drivers compiled as modules which should be loaded automaticly at boot.
    If not, try a later version or you would have to compile your own kernel, as documentated in the Kernel HOWTO

  • Problems with Pro*Cobol on 10g

    Hi ,
    We are trying to migrate from 9i to 10g. We were using pro*cobol 1.8. Now we are facing many problems while compiling and running these programs on Pro*COBOL: Release 10.2.0.2.0.
    Are there any migration guides available which might have the specific changes to be done.
    Thanks
    Akhila

    Hi 985004,
    This forum if for Web Services. I think you would have more luck posting to the APEX forum:
    Oracle Application Express (APEX)
    Regards Peter

  • Problems with Pro*C and the double datatype

    Hi!
    I'm working with Pro*C 8.1.7 on HPUX 11.0, but I've a problem
    with the datatype double.
    On runtime, I got a Bus Error (core dumped) when try assign a
    double bind_variable (Pro*C) with a double variable (ANSI_C)
    For example:
    typedef struct xxxx
    float item_ANSI_C;
    double variable_ANSI_C;
    } xxxx;
    void procedure_name()
    EXEC SQL BEGIN DECLARE SECTION;
    xxxx *POINTER;
    double double_bind_variable_PRO*C;
    EXEC SQL END DECLARE SECTION;
    EXEC SQL WHENEVER SQLERROR DO (...);
    for (i = 0; ; i++)
    EXEC SQL WHENEVER NOT FOUND DO break;
    EXEC SQL FETCH cursor INTO (...),
    :double_bind_variable_PRO*C,
    POINTER.item_ANSI_C = other_bind_variable_PRO*C;
    (***)POINTER[i].variable_ANSI_C = double_bind_variable_PRO*C;
    (***): In this point the program throw BusError(core dumped).
    However, the float datatype does not.
    ------- End Example -------------
    Somebody have any solution for this problem? Please.
    Thanks, in advance.
    Alex.

    Hi Franz,
    Though it's a bit late, I'll leave this trace for those who follow.
    IRecordset also has Fields->Item.
    What might work is:
    IField * field;
    field = rec->Fields->Item(0);
    field->get_Value(0); (or something similar for your environment).                
    I couldn't find any documentation either.
    The C++ examples are not overwhelming, are they?
    Worse, they are not supported. Otherwise SBO-support is very hilfsbereit.
    Cheers,
    Evert

  • Workflow in an environment with both CS3 and CS4

    Hi,
    I manage a Graphic Design work environment with work stations that range from CS2 to CS4. Is there an easy way to share files between versions?
    Specifically with regard to InDesign and also Illustrator.
    With InDesign I am just saving inx files, but those only work for cs3 when saved from cs4, and when they are opened it requires that they are saved as a new document, and this really interferes with my workflow.
    Any advice on how to get around this would be greatly appreciated...
    Thanks,
    Andy

    more than anything I want this for when I am working with off site resources who don't have the current version of CS that way I don't need to jump thru so many hoops to send them a file to work on. I do agree with you that it could create problems, but they give the warning with illustrator when you down save, why not just give the warning with Indesign as well?

  • Training environment with my MAC and VMware

    I need to set up a training environment with my Mac Air - what converter do I purchase to make the computer cable into a USB?

    Correct, as this is not a supported protocol.
    http://support.apple.com/kb/HT3647

  • Dual boot with Windows 7 and LINUX - Tecra A11 (PTSE1A-00L005)

    Hi,
    I bought a new Tecra A11 Laptop which runs WIN7 Pro. I want to install LINUX also. That means, I want to run my laptop in dual boot Win7 Pro/LINUX (any distributor). Please tell me how to do that.
    There are 5 partitions on the HDD:
    1. Active, Recovery partiton 1.46 Gb (no drive letter)
    2. Active Primary C: Boot 145.04 Gb (NTFS)
    3. Active Logical E: 78.13 Gb (NTFS)
    4. Active Logical F: 64.25 Gb (NTFS)
    5. Primary Partition 9.2 Gb (no drive letter, application unknown)
    Hey, I need it badly, because I have admitted to a course of RHCE (Red Hat Certified Engineer)
    Please help me

    Hi
    I may not be able to give You a step-by-step explanation but most distros today offer a possibility to co-exist with Windows.
    During the installation the unused free space will be taken by Linux (with the consent of the user of course!!)
    What exact setup is needed by You is impossible for anyone else to say, but I would suggest to make the space occupied by the F drive available for Linux.
    You seem to have space enough for Windows and the Linux OS does not need much.
    Some thoughts concerning your partition setup:
    I would NOT touch 1,2 and 5 no matter what. They are your system and some system internal partitions (recovery environment and data) and would not be fun to lose.
    1. Active, Recovery partiton 1.46 Gb (no drive letter)
    2. Active Primary C: Boot 145.04 Gb (NTFS)
    3. Active Logical E: 78.13 Gb (NTFS)
    4. Active Logical F: 64.25 Gb (NTFS)
    5. Primary Partition 9.2 Gb (no drive letter, application unknown)
    So pick a Distro (my suggestion Ubuntu, Mint, Fedora, OpenSuse - Fedora will be the one closest related to RedHat) which will guide You through the steps to allocate space for Linux.
    I would suggest however to remove the drive F in Windows so Linux does not start resizing all partitions.
    I am sure that will work fine, but will just take time and the pretty unnecessary F drive will most surely be kept.
    If You already have valuable data on your unit, make sure to back it up!! No software comes with warranties :)
    Last but not least - make 100% sure to create a recovery set with the help of Toshiba Recovery media creator BEFORE you start installing Linux.
    If something goes wrong You might want to have the possibility to put the unit back into factory state.
    Good luck and keep asking if You need additional help!
    Tom

  • Having a problem with Pro Tools and Quiktime may be the cause. Need advice.

    I recently installed Pro Tools recording software on my Mac and everytime I try and open the program I get a kernel panic "restart" screen. I have been told that it may have something to with my Quiktime version.
    I am running
    OSX version 10.4.7
    Pro Tools version 7.1
    and Quiktime version 7.0.4
    Could this be my problem? thanks

    A fax file is simply a TIFF file. If you converted it to a PDF (you did not give any info on your workflow), then you have a graphic. The conversion to Excel will also be a bunch of graphics I guess. You would need to run OCR first. Even then you may not get the column information and may have to copy column by column using alt key when selecting the text. That allows you go copy a column.

  • Printing Problem with Pro 8 and Reader

    I have this problem where when I print to any printer, from Acrobat pro, or reader, any sort of graphics/image in the PDF doesn't come out properly. For example, most of the graphics/image part looks solid black, or blocky. I usually take the same PDF, open it up on another computer, and print it to the same printer i normally print to, and it prints fine. I also can print from any other program other than acrobat/reader just fine.
    So far, i have uninstalled Reader, and reinstalled Acrobat, with no result.
    Any ideas?

    Not alot of information to go on but you might check to see if Print Color As Black is checked in the lower left corner of the Print dialog.

  • Printing Problem with Pro-100 and Photoshop

    This is my setup: using Mac Pro running Snow Leopard (10.6.8) & editing & printing from Photoshop CS 6. I have new Canon Pixma Pro-100 printer and set it up OK. First thing printed was a page from a document from MS Word on 8.5X11 plain paper - this came out OK. Next I fire up Photoshop and open a 4X6 inch image (just a snapshot in jpeg, landscape format) to do a test print.  I set it up in the print dialog as 4X6 paper, Canon's Pro Glossy paper profile, rear tray, standard print quality, Photoshop manages the color.  I load the paper in the rear tray close the covers and hit print.
    Now, when it starts to print the printer moves about 3.8 inches of paper out of the printer and it starts printing on the remaining 2.2 inches then spits the paper out.  It does this in Photoshop (any image, it doesn't matter), and it does it printing from Nikon’s Capture NX.  I have been able to get it to print on the paper correctly using Apple's Preview program but that that's not going to do me any good. I was on the phone with Canon tech support for about 2 hours and they were completely puzzled suggesting I would have to use Canon's printing apps instead to print - that doesn't do me any good either. I want to be able to print from Photoshop. I have the most recent Canon driver, and Photoshop is up to date. Any one every heard of this or experienced the same problem?  I don’t think I’ve overlooked anything. Thanks JMDavis!

    Hi JMDavis,
    Have you tried printing using the Print Studio Pro plugin for Photoshop?  If this is not install, it is available for download from Canon's web site.  To download and install Print Studio Pro, please follow these steps:
     1.  Visit Canon's website at:    http://www.usa.canon.com/cusa/support/consumer
     2.  Type PIXMA PRO-100 in the "Enter Your Model Name" box and click GO.
     3.  On the Support page for your unit, click the 'Drivers & Software' link in the middle of the page.
     4.  Click Software.
     5.  Click on Print Studio Pro.
     6.  If you agree, please select the checkbox next to "I have read and agree to the terms of the Disclaimer and wish to continue with the download".
     7.  Click on the Download button.
     8.  The file will be downloaded to your Downloads folder.  
     9.  Once the download is complete, close all windows.
    10.  Double click [mpsp-mac-1_3_5-ea9_2.dmg] in your Downloads folder.  Files will extract.
    Follow the prompts and installation will complete.
    Once installed, please open your image in Photoshop and print it using the Print Studio Pro plugin.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for

  • Movie Playback Bug?

    I play back video through an external firewire box, the Canopus ADVC-100. In Logic 8, there is a small movie display window in the upper left-hand corner of the Arrange page. If you click on the carrot and open that window, it shows a very small vers

  • Invoice and Order Confirmation automatic Print

    Hi everyone, The user wants the following configurations: Automatic printing of Invoices and Order Confirmations to the following printer: #$%$#%#%u2026.this printer is located on the following server: $%$#%$# Thanks for prompt response Nick

  • QM for Vendor Batch

    Hi The requirement is as follows: 1. The QA representative inspects the batch of raw material at the vendor premise     and approves the batch. The batch is for a firm quantity.The batch will vary after a time interval. 2. The QA rep creates an inspe

  • Static variable in servlet

    Is it safe to use static variable in servlet in weblogic if clustering is           not being used? Thanks.           Leo           

  • My emails and chats are being shared, help!

    I use airport to connect to the internet but my roommate can see my emails and chats in a log on his mac. how is this possible and how do I stop it?