Accessing MS-SQL Server from within ACU-Cobol

From: Daniel Klopfer (dk_at_grunecker.de)
Date: 01/14/04


Date: Wed, 14 Jan 2004 12:11:35 +0100

Hi all,

I am trying to access a SQL-Server database from within an Cobol
program.
The first attempts were succesful, but now I've got a problem with
some record-dscriptions: The variable-types "INT" , "INT NOT NULL"
and "VARCHAR(nn)" can be represented by PIC 9(9), PIC S9(9) and PIC X
clauses.

What PIC must I use for variable-type "DATETIME" and "DECIMAL(X,Y)???

Any hint is welcome.......

Thanks
Daniel



Relevant Pages

  • Re: Accessing MS-SQL Server from within ACU-Cobol
    ... > I am trying to access a SQL-Server database from within an Cobol ... > The first attempts were succesful, but now I've got a problem with ... $XFD DATE=YYYYMMDD ...
    (comp.lang.cobol)
  • Re: Accessing MS-SQL Server from within ACU-Cobol
    ... > I am trying to access a SQL-Server database from within an Cobol ... If you really must store them as DATETIME (I store ... using a standard component I wrote) then try "USAGE COMP-2" (NO ...
    (comp.lang.cobol)