Could you please say to me how I can put a PL-SQL TYPE HEADER into a Visual Cobol Program ???
Many Thanks,
PJM
I found the following in the Oracle Pro*COBOL documentation about embedded PL/SQL in embedded SQL programs:
Embedding PL/SQL
Pro*COBOL treats a PL/SQL block like a single embedded SQL statement. So, you can place a PL/SQL block anywhere in a host program that you can place a SQL statement.
To embed a PL/SQL block in your host program, declare the variables to be shared with PL/SQL and bracket the PL/SQL block with the EXEC SQL EXECUTE and END-EXEC keywords.
Could you please say to me how I can put a PL-SQL TYPE HEADER into a Visual Cobol Program ???
Many Thanks,
PJM
Dear Chris,
How I didn´t find a solution for this problema I want to test another approuch. I want to build a JVM Cobol program that read the HEADER Object and then Call a Cobol program with SQL Embedded to do the Data Base Access.
Please say to me if this if posible and what I need to Licensed from Micro Focus to do this.
Could you please say to me how I can put a PL-SQL TYPE HEADER into a Visual Cobol Program ???
Many Thanks,
PJM
Hi Pedro,
Have you talked to Oracle about the correct way to handle this in Pro*COBOL? Pro*COBOL is an Oracle product and not a Micro Focus one.
If you have to execute some PL/SQL that is not supported in Pro*COBOL then it might be best to create a stored procedure for this and then execute this from within COBOL.
Could you please say to me how I can put a PL-SQL TYPE HEADER into a Visual Cobol Program ???
Many Thanks,
PJM
You can call a native COBOL program from a JVM COBOL program. Look in the Samples Browser under COBOL for JVM and then select the JVM COBOL to Native COBOL example.