Hi,
I'm trying to understand about SQL cursors.
Are cursor names used at run-time i.e. passed to ODBC/SQL engine or just used internally at compile time to associate various EXEC SQL statements.
What I'm wondering is... If a COBOL program, 'A' calls two other programs, 'B' and 'C', alternately, to fetch rows from tables T1 and T2, can programs B and C use the same cursor name i.e. such that both programs have the same-named open cursor?
I'm asking because I'm switching a system from MF native files to MySQL and I'd like to use copybooks of standard procedures.
Thanks, Linden.