I am new to Oracle and would greatly appreciate any help with this.
I am working on a Cobol CICS project where users enter SQL*Plus statements and submit for execution via Batch or On-line mode. My Batch mode works perfectly with control breaks, headers and footers. My problem is accomplishing this in an on-line mode, i.e. execute the SQL*Plus query dynamically and returning the result set for screen display via a cursor (ref cursor). From the research I've done so far, I've come upon some examples using REF CURSOR through a PL-SQL function in conjunction with SQL*Plus (report formatting) - via dynamic SQL. I've seen no Cobol examples using this method - does anyone know how?
Thank you
Rick
I am working on a Cobol CICS project where users enter SQL*Plus statements and submit for execution via Batch or On-line mode. My Batch mode works perfectly with control breaks, headers and footers. My problem is accomplishing this in an on-line mode, i.e. execute the SQL*Plus query dynamically and returning the result set for screen display via a cursor (ref cursor). From the research I've done so far, I've come upon some examples using REF CURSOR through a PL-SQL function in conjunction with SQL*Plus (report formatting) - via dynamic SQL. I've seen no Cobol examples using this method - does anyone know how?
Thank you
Rick