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.
Similar Messages
-
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. -
How to use Pro*COBOL with RMCobol
Hi,
I try use Pro*Cobol with RMCobol compiler.
But I have problem to use oraSQL9.LIB y with runcobol (runtime).
Thank for any help.I try use Pro*Cobol with RMCobol compiler.
But I have problem to use oraSQL9.LIB y with runcobol
(runtime).You will be able to do it with the new version of RM.
This is due very soon, and you will need the new compiler, the new runtime, and a small C wrapper that I supply to be able to do it.
If you already have Version 7 of the runtime you can also use OCI call's as of now, this also with a C wrapper I supply (this for windows, UnixWare 7.xx, OpenUnix8, and Linux (redhat at the moment, should work with most of others).
I can be contacted at [email protected]
regards
Frederico Fonseca -
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 -
Hi !
I didn't find a forum specific to pro*c, so here i am because i was told this forum had a bit of pro*c activity....
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 -
Hi all,
I don't find precompiler procob in $ORACLE_HOME/bin. I have installed Enterprise Edition 10g on Solaris10. Please help me, thanks.metalink note 339032.1 explains.
-
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 -
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 -
Unresolved symbol after migrating Pro*C from Oracle 8i to Oracle 10gR2
Hello,
We are currently migrating a 32bits application written in Pro*C and Pro*Cobol from Oracle 8i client to Oracle 10gR2 client (Oracle 10gR2 server).
Precompiling, compiling and linking the source files are ok. But at runtime, the following error appears :
/usr/lib/dld.sl: Unresolved symbol: __sendpath64 (code) from /logiciel/oracle/client_10203/lib32/libclntsh.sl.10.1
Here is the command used for pre-compiling, compiling and linking :
+----> Precompiling Pro*C src/its_execute_lmd.pc ...
proc maxopencursors=100 hold_cursor=yes release_cursor=yes ireclen=500 oreclen=132 mode=ORACLE code=ANSI_C dbms=v8 unsafe_null=yes ltype=none include=(inc,/logiciel/oracle/client_10203/network/public,/logiciel/oracle/client_10203/plsql/public,/logiciel/oracle/client_10203/precomp/public,/vtcvd10/vcour/common/alimentation_com/afonction_partagee/inc,/logiciel/oracle/client_10203/rdbms/public,/logiciel/oracle/client_10203/rdbms/demo,) iname=src/its_execute_lmd.pc
Pro*C/C++: Release 10.2.0.3.0 - Production on Mer. Déc. 5 10:16:56 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Valeurs des options système par défaut extraites de : /logiciel/oracle/client_10203/precomp/admin/pcscfg.cfg
+----> .................... src/its_execute_lmd.c OK
+----> Compiling src/its_execute_lmd.c ...
cc -Ae -Iinc -I/logiciel/oracle/client_10203/network/public -I/logiciel/oracle/client_10203/plsql/public -I/logiciel/oracle/client_10203/precomp/public -I/logiciel/oracle/client_10203/rdbms/public -I/logiciel/oracle/client_10203/rdbms/demo -I/vtcvd10/vcour/common/alimentation_com/afonction_partagee/inc -c src/its_execute_lmd.c -o src/its_execute_lmd.o
+----> .................... src/its_execute_lmd.o OK
+----> Building its_execute_lmd ...
cc -Wl,+s -Wl,+n -Llib -L/vtcvd10/vcour/lib -L/logiciel/oracle/client_10203/lib32 -L/logiciel/oracle/client_10203/rdbms/lib32 -o bin/its_execute_lmd src/its_execute_lmd.o -l:libclntsh.sl -l:libits.a
+----> .................... its_execute_lmd OK
Here is the SHLIB_PATH var used at runtime :
SHLIB_PATH=/logiciel/oracle/client_10203/lib32
I would appreciate any help about this unresolved symbol in the Oracle shared library.
Thank you in advance.What does the program do? It might make more sense, given the tremendous number of changes and enhancements to just rewrite it.
-
Using WITH clause in Pro*Cobol
Hi!
I am trying to improve the performance of a query by introducing WITH clause.
The query is in Pro*Cobol Release 9.2.0.6.0 - Production.
I got compilation error
WITH DPTCOST AS (
...............1
PCB-S-00400, Encountered the symbol "DPTCOST" when expecting one of the following:
END-EXEC
....continued
So I wonder if we could use that clause at all with Pro*Cobol
Here is the excerp of the code
EXEC SQL
DECLARE INPUT_ACTUAL CURSOR FOR
WITH DPTCOST AS (
SELECT /*+ rule */
A.CODE_COMBINATION_ID,
A.SEGMENT1, A.SEGMENT2, A.SEGMENT3,
A.SEGMENT6,
D.COSTING, D.PROCESS,
D.MTL_CODE, D.FACTOR
FROM
GL_CODE_COMBINATION A,
ALCGL_DEPARTMENT_COSTINGS D
WHERE
A.TEMPLATE_ID IS NULL
AND A.SUMMARY_FLAG <> 'Y'
AND A.SEGMENT1 = D.PLANT_NUMBER
AND A.SEGMENT3 <> '6999001'
AND A.SEGMENT3 <> '6999002'
AND SUBSTR(A.SEGMENT2,4,3) = D.DEPARTMENT
AND D.ACTUAL_FLAG = 'A'
) ... continuedMaterialized views are basically stored query results. They offer advanced functionality like query rewrite, refresh on commit, and more;
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6002.htm
Unlike a view, they actually store the results of the query - not just the query;
SQL> create table t (cid number primary key)
Table created.
SQL> insert into t select object_id from dba_objects where object_id is not null
12791 rows created.
SQL> create materialized view mv
as select * from t
Snapshot created.
SQL> select object_name, object_type from user_objects where object_name ='MV'
OBJECT_NAME OBJECT_TYPE
MV TABLE
MV MATERIALIZED VIEW
2 rows selected.
SQL> select segment_name, bytes from user_segments where segment_name in ('T', 'MV')
SEGMENT_NAME BYTES
T 196608
MV 196608
2 rows selected.Temporary tables are simply tables that are created then dropped. GLOBAL TEMPORARY TABLES have the advantage (or disadvantage) of only existing until commit or the end of the session. They results are visible to the user that inserted the data - but only temporarily;
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#sthref7483 -
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 -
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.
-
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
-
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
Maybe you are looking for
-
Converting CAP file to JCA using normalizer
Hi, I'm trying to generate 2.2.1(or 2.2.2) JCA file from 2.2.1(or 2.2.2) CAP file using JCDK 3.0 normalizer. I generated class files successfully but when using converter from javacard-kit 2.2.2 i get following error messages unsupported class file f
-
Connecting to an old time machine backup ?
had to reformat my drive and would like to connect it to the old timemachine backup I have - How do I do that ?
-
Why time-dependent not work for cost center and profit center hierarchy
Has anybody been able to successfully turn on time-dependent for cost center hierarchy? Looks like the R/3 datasource 0COSTCENTER_0101_HIER is defaulted to be NOT time-dependent, and I dont know how to change the R/3 configuration to enable time-dep
-
InputVerifier + twist - DESPERATE for help!
Hello, after 2 days trying to solve a seemingly simple problem I�ve given up and hope you can help me :-( Problem: I have a JTextField where a customer number can be entered. The number has to be checked for uniqueness against a table in a db. - OK:
-
Hi all friends, I want to find out blocking sessions between 3.00 am to 7.00 am on dec 18,2013. Could some one help me on this please. I have a script and i would appreciate if someone can help me out to modify it. SELECT s1.username || '@' || s1.mac