Could anyone inform me as to what these two languages are and how they
relate to ORACLE database systems development. Also how do they differ from
'c' and COBOL.
Thanks
--
David
Thanks
--
David
Pro*C and Pro*COBOL are not languages. They are pre-compilers. What
they do is take embedded SQL statements and translate them into calls to
library routines. This is to allow access to an Oracle database from these
languages.
--
___ Oo .:/
(___)o_o ,,///;, ,;/
//====--//(_) o:::::::;;/// Ron Ross
''\\\\\'" ';\ I'd rather be diving !!!
Pro*C and Pro*Cobol are ORACLE's "pre-compiler" languages.
They are "pre-compilers" because they "compile" embedded SQL
statements into "true" C or COBOL code so that you can then
use the normal C or COBOL compilers.
It's supposed to be simpler than using the low-level (function)
call interface. A Pro*C source might look like this:
main ()
{
EXEC BEGIN DECLARE SECTION;
employee_name CHAR[21];
EXEC END DECLARE SECTION;
EXEC SQL SELECT ename INTO employee_name FROM EMP
WHERE empid = 1234;
printf ("\nName=%s", employee_name);
The PRO*C precompiler would convert the statements beginningQuote:}
Tony Bravo
1. Copying Pro*C/Pro*Cobol instead of installing..?
I have a production and a development machine (both DEC 5500
running Risc Ultrix and Oracle 6.0.34) and I have Pro*C and
Pro*Cobol installed on one but not the other.
We have a licence to have the precompilers on both machines, and
now we need them on both. I was hoping to be able to just copy
/usr/local/oracle/c and /usr/local/oracle/cobol from one machine
to another. Is this a waste of time? Am I going to miss out on
lots of other things I need?
I know about the /usr/local/oracle/bin/pcc and /usr/local/oracle/
rdbms/lib/libpro.a files. Are there others?
Also, will I miss out on essential relinking procedures or changes
to the database or somesuch by "installing" via copying?
I'm also hoping to move the Microfocus Cobol product across in the
same way.
Comments?
---------------------------------------------------------------
Janene Carey, Computing Services, University of New England,
Phone: +61 67 73 2287 Fax: +61 67 73 3272
Any views expressed are mine own hard won ones
---------------------------------------------------------------
2. Want To Buy: A2000 internal HD floppy
5. Which Cobol's work with Pro-Cobol?
8. Announcing The Agile Life - a free ezine on the human side of software development
9. Problem: Pro*Cobol-Microfocus Cobol
10. PRO*COBOL support for LPI COBOL compiler under ORACLE 7.2
11. Pro*COBOL & Microfocus ANIMATOR
12. Pro*C/Cobol pgm file sizes under 6.0.34