Oracle 9i and Pro*Cobol
We are in the process of Database upgrades and a pro*cobol program which was working in HP UX 11 / Oracle 7.3.4 was not working in HP UX 11 / Oracle 9i. We are getting the following error when trying to compile it (make) -
sh: 11139 Memory fault(coredump)
*** Error exit code 139
Can anybody help me with this issue.
We are able to fix this core dump problem. There were some extra "tabs" in the program, when removed the program compiled perfect.
Similar Messages
-
Oracle 11g and PRO*C : pre-compile errors only with 11g !
Hi !
I didn't find a forum specific to pro*c, so here i am.
I've downloaded Oracle 11g and recompiled our applications using pro*c
We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
With Oracle 11g, it doesn't work !
every EXEC SQL followed by a command works.
every EXEC SQL followed by a query generates the same error.
Example :
char *oracle_date_courante()
static char buf[SIZE_ORADATE+1];
EXEC SQL SELECT sysdate into :buf from DUAL;
if(ORA_SQLERROR())
oracle_error("sélection date courante");
buf[0]=0;
return buf;
PRO*C output :
Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
EXEC SQL
.1
PLS-S-00000, SQL Statement ignored
erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
EXEC SQL
.1
PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
So, it's a vicious circle !
Any ideas ?
Thanks...
VincentAdding the option common_parser=yes removes the errors !
But brings errors linked to the PL/SQL parser such like
CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
1>, [], [], [], []
1>ORA-06553: PLS-801: erreur interne [55916]
Really vicious..and still not precompiling !
By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
So bye bye option common_parser and i'm back to my orignals errors.
Message was edited by:
Vicenzo -
Pro*Cobol is missing in 10g for win64
Hi !
The quesion is for Oracle people.
Pro*Cobol is missing in 10g for win64.
Any chances to get it ?
As a matter of fact if you precompile on HPUX (64-bit) even on 9i and edit the produced code, you can make your program work.
Regards,
SergeyAs Manish-Sharam said, if it doesn't show up, it isn't supported on your system (barring issues with AAM itself, of course). Read the system requirements.
Mylenium -
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, UlfHave 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 for Oracle 10g Express Edition is available?
Hi to all, this is my first post here.
I evaluating Cobol to Oracle products and I have find one it´s more
We installed Oracle 10g Express Edition (Server and Client), to test compatibility of a Cobol product.
This product requires the "rtsora" component, from Pro*Cobol, but we didn´t find it in any place in the instalation packages.
The documentation show the precompilers to be at $ORACLE_HOME/precomp but there is only two folders (admin and lib) with "ottcfg" files. Nothing more
Searching this and anothers foruns, I became to think if the precompilers facilities, like Pro*Cobol, may be available to the 10g Express Edition for Linux, OR, if this is a feature available only to the Standart Editions (or Windows)?
The instalation and users manuals appears to don´t distinguish the 10g standart from the Express Edition. Also, the Express Edition doesn´t ask for any kind of "customization oprtions" as I read about in another topics.
Edited:
1 - We are using this on Linux Ubuntu.
2 - The Windows 10g Express Edition appears to be more complete, but I need to run this on Express Edition.
Thanks in advance!
(sorry bad english)There is no official communication on 11G express edition release date .
You will have to wait and watch Oracle Official website for that .
Also check this :
http://news.techworld.com/applications/3203909/oracle-stalls-over-11g-express-release/
http://pcworld.about.com/od/businesscenter/Oracle-Mum-on-11g-Release-2-1.htm
Regards
Rajesh -
PRO * COBOL with Oracle 9i
We are in the process of Database upgrades and a pro*cobol program which was working in HP UX 11 / Oracle 7.3.4 was not working in HP UX 11 / Oracle 9i. We are getting the following error when trying to compile it (make) -
sh: 11139 Memory fault(coredump)
*** Error exit code 139
Can anybody help me with this issue.I posted this in the wrong place. Please ignore this.
-
Pro*COBOL precomp and .pco demos not installed
Hi,
I am new to the Oracle database.
Installing Oracle 9.2, Standard Edition - downloaded Disk1, Disk2 and Disk3 for Windows NT/2000/XP from the OTN downloads.
I have COBOL programmes with embedded SQL - I need the Pro*COBOL precompiler (procob).
It seems like Pro*COBOL did not get installed and I do not have the \procob\ demos folder under %ORACLE_HOME%\precomp\demo\. In fact, the only folder in the \demo\ folder is \sql\.
I have tried compiling my own COBOL programs, which use the COBSQL preprocessor to call the Oracle procob precompiler. I get the error message:
* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator
'procob' is not recognized as an internal or external command,
operable program or batch file.
* CSQL-F-021: Precompiler did not complete -- Terminating
Are Pro*COBOL precompiler and the procob demos installed with the download version of Oracle 9.2? Where can I get them from?
Many thanksHi, me again.
The procob demos are not installed by default -- Standard installation.
With a Custom installation, Pro*COBOL is found under 'Oracle 9i Development Kit 9.x > Oracle Programmer 9.x > Optional Dependencies'. You have to check the box 'Show all components including required dependencies' on the Custom install dialog to be able to expand the components and see the Pro*COBOL precompiler under Optional Dependencies.
I will get to testing the procob demos now and post back the success/failure of the Pro*COBOL precompiler installation. -
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:11Have 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/Oracle 9.2 Error
I am trying to run a COBOL program using SQL. The program is pre-compiled with PRO*COBOL and the then with Microfocus NET Express. At runtime i get the following error.
$ ./testsample
Execution error : file 'sample1'
error code: 114, pc=0, call=1, seg=0
114 Attempt to access item beyond bounds of memory (Signal 10)
HP/MF COBOL Version: B.13.45
HP-UX hptest B.11.11 U 9000/800
pid: 22012 gid: 102 uid: 104
Thu Nov 21 19:03:12 2002
7:03pm up 36 days, 6:23, 34 users, load average: 0.28, 0.16, 0.13
Thread mode: No Threads
RTS Error: COBOL
Sync Signals: COBOL
ASync Signals: COBOL
cobtidy on exception: False
I get the same error with the sample program. Any idea what the cause may be?Hello,
Reason: Your data might contain some foreign characters [non-english] ie., your server nls_lang settings might be different to the client nls_lang settings, as a result the new nls_lang characters will occupy extra bytes because of which even though it is apparent that you are using around 2000 bytes you may be using more than 4000 bytes. Examples Japanese characters seem to take 2 bytes per character, similarly russian takes 3 bytes per character.
The ojdbc14.jar seems to be doing some check on this and if the characters are more than 4000 bytes it gives u the ora-01461 error but the new 10G ojdbc14.jar allows this.
On the other hand you may be genuinely trying to insert more than 4000 bytes characters into varchar [example trying to insert the text values into a varchar()]
You may want to try this:
* Please download ojdbc14.jar from
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.htmla>
* Replace the old $omwb_home/lib/ojdbc14.jar with the ojdbc14.jar that you have downloaded in the step above.
Try a capture now.
Thank you.
Srinivas -
PRO*COBOL Oracle 9.2
I am trying to run a COBOL program using SQL. The program is pre-compiled with PRO*COBOL and the then with Microfocus NET Express. At runtime i get the following error.
$ ./testsample
Execution error : file 'sample1'
error code: 114, pc=0, call=1, seg=0
114 Attempt to access item beyond bounds of memory (Signal 10)
HP/MF COBOL Version: B.13.45
HP-UX hptest B.11.11 U 9000/800
pid: 22012 gid: 102 uid: 104
Thu Nov 21 19:03:12 2002
7:03pm up 36 days, 6:23, 34 users, load average: 0.28, 0.16, 0.13
Thread mode: No Threads
RTS Error: COBOL
Sync Signals: COBOL
ASync Signals: COBOL
cobtidy on exception: False
I get the same error with the sample program. Any idea what the cause may be?after some research I found out that the Pro Cobol compiler is not available on the HP Itanium for version 9.2.0.1, 9.2.0.2 and 9.2.0.3. I will not be available until 9.2.0.4 or later per Oracle on Metalink
-
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 -
Pro*C on Oracle Linux and 11g R2
Hello everyone
I am unable to find Oracle documentation on how to use make and compile and link ProC programs on Oracle Linux and Oracle 11g R2*
The Pro*C manuals for 11g R2 refer me to the "operating system specific manuals" for compiling and linking and make instructions but I can not find such manuals anywhere.
I looked here:
http://docs.oracle.com/cd/E11882_01/appdev.112/e10825/toc.htm
Can anyone point me to the documentation on how to compile/link/precompile/make-utility Pro*C programs on Oracle/RedHat Linux, please?
Many thanks!Honestly having used pro*c for years ( not lately ) the windows install
was always marginal... try the linux version much better and you don't
have to taylor you *.cfg files like previous versions... it work right out
of the box... the install doc stated you might have to update your
C++ libraries... -
Configure MS VC++ 6.0, Per Oracle 8.1.6 and Pro*C
Hello All,
Could someone help in configuring MS VC++ 6.0, Per Oracle 8.1.6 and Pro*C. Per the Personal Oracle 8.1.6 document when I start locating Header files directory at C:\<Per_Ora_Dir>\Precomp\Public I could not find the directory nor Proc executable at Bin directory. Anybody encountered similar problem or could some one give some hint as where to look for it would be great.
Thanks,
Soum.<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Migration Workbench Team:
The Oracle Migration Workbench will assist you in the Migration of the SQL*Server 7 DB. It is available as a free download from this site.
<HR></BLOCKQUOTE>
null -
Does Oracle intent to maintain the Pro*Cobol in the market?
With the new power languages like java, the Pro*Cobol segment will survive in news releases?
HI
It will still support Cobol in order to cater to the clients who are still in mainframe systems and those clients who have their legacy systems in Cobol.
Regards,
Bibs -
Where can I download PRO*COBOL for Oracle database 11g ?
Where can I download PRO*COBOL for Oracle database 11g ? I have downloaded & installed linux.x64_11gR1_database_1013.zip
It has a procob32 but it gives an ERROR loading shared library libcIntsh.so.11.1 ?
What should pro*cobol be for my linux 64 bit AMD ? (procob procob32, procob18, procob64)
Hope somebody can help with this, Thanks, [email protected] www.uvsoftware.caThis is not the appropriate forum to post this.
Kindly post it in the Database General Forum or search in the download section.
Regards.
Satyaki De.
Maybe you are looking for
-
Hi guys, My Time Machine disk keeps ejecting itself. Once it has ejected itself I cannot write to it or even format it, I usually have to boot Yosemite/Mavericks off a USB and in disk utility there, repartition and format the disk. It will then bac
-
Quicktime won't play files until I click play
Running QT 7.6.6 on windows XP. Has anyone seen this? If I double-click on a file (for example a lossless m4a file), QT fires up but instead of playing the file it just sits there doing nothing with the hourglass waiting there. When I press play, it
-
IOS device streaming working perfect but f4m quit on PC's now.
The first event I streamed tonight worked fine for an hour or so then it stopped being accessible from the web . I had no problem viewing the stream on mobile devices though. The log file shows these errors. 2011-12-27 16:58:39 4172 (e)2611178 Error
-
I updated my iMac 2007 iMac7,1 to mavericks (fresh install, not update), all works fine... Download new voices from dictate preferences (stay on 12% and after minutes receive an error), download of windows support from bootcamp (give an errror) and o
-
Is there a way to get ipod media onto itunes????
My dektop crashed and I lost my itunes library. When I tried plugging my ipod into itunes, it said that an ipod can only be connected to one library at a time. I would've lost all my songs if I had ocntinued. If I delete and reinstall itunes will it