COBOL Versions & SQL

From: arenaTR (arenaTR_at_comcast.net)
Date: 12/16/03


Date: Tue, 16 Dec 2003 12:29:18 -0500

I wanted to ask everyone a question for a relative newbie. most of the
cobol I've done has had some form of SQL, depending on the version of the
DBMS, embedded in the COBOL itself. This is how I thought it had to be
done. This applies to both SQL code for RDBMS and file reads for VSAM-type
files.

My question is, are there versions of COBOL out there that allow SQL to be
called outside a program, or by language design, must the SQL be embedded in
the COBOL programm and cannot be handled externally. Thank you very much in
advance for your help!



Relevant Pages

  • Re: Definition of FACTORY
    ... > taking different elements in the record to create keys. ... COBOL provided nice syntactic file access support initially. ... the SQL part. ... > At a later stage, as need arises, I can include SQL syntax in other ...
    (comp.object)
  • Re: Conversion of data & associated logic from ISAM to RDB
    ... embedded SQL is not necessarily the best solution. ... feed it your ISAM COBOL definition (Source code) and it creates a Relational ... Database in third normal form. ...
    (comp.lang.cobol)
  • Re: Dynamiv SQL and multi-row access SQL from COBOL... some quick questions
    ... EXECUTE IMMEDIATE is for one time dynamic SQL. ... Perhaps you were referring to something other than host variables. ... COBOL using ACCESS 2003. ...
    (comp.lang.cobol)
  • Re: Definition of FACTORY
    ... COBOL code, but see if the following helps. ... invoke os-CustomerFile "readRecord" using Customer-Key returning ... > funny stuff around the SQL queries. ... Anyway thanks for responding. ...
    (comp.object)
  • Re: Thoughts on MF COBOL, Unix, and RDBMS
    ... On May 3, 12:51 pm, "Pete Dashwood" ... COBOL compiler available but it doesn't support SQL, ... the Unix Database (given ODBC for that). ...
    (comp.lang.cobol)