Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using MS Access ODBC for COBOL85

Status
Not open for further replies.

agedone

MIS
Dec 8, 2004
2
US
Hi,
I am using Fujitsu COBOL version 6. I am trying to
insert rows into a simple Access table that I created
locally but I never can get records to insert.
The SQL trace log looks ok and running in the debug
mode the sqlstate is always 0000 but no records are
written to the table.
Here is the insert code. Have used same code in remote
odbc and it works.
EXEC SQL
INSERT INTO GL3DIFF_DTL(GL3DIFF_BATCHNO, GL3DIFF_IMAGENO,
GL3DIFF_FLDDESC, GL3DIFF_MIS1FLD, GL3DIFF_MIS2FLD)
VALUES :)DTL-BATCH-NBR, :DTL-IMAGE-NBR,
:DTL-FLD-DESC, :DTL-MIS1-FLD, :DTL-MIS2-FLD)

any help would be greatly appreciated.
thanks,
END-EXEC.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top