jdbc for COBOL

Somebody know.. How can I access a cobol database from a java applications..There is exists some jdbc driver to cobol database or something similar...thanks...
[187 byte] By [pedro.garcia] at [2007-9-27 14:52:07]
# 1
http://industry.java.sun.com/products/jdbc/drivers
davejenk at 2007-7-5 22:52:11 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Yes....I looking for a driver in that url, but i don't find any to COBOL.Thats what I put this message.Somebody knows where can I find something to read .DAt files from COBOL.
pedro.garcia at 2007-7-5 22:52:11 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

COBOL is a programming language and does not have any native access method / database. COBOL is not a database.

The .dat file could be absolutely anything. You need to find out what the format is (for example maybe it's dBase). It could also be a 'flat' file.

Once you have determined what the type is, you would need to find out if there is a JDBC driver available for it. There are JDBC drivers available for a wide variety of databases and other types of access methods, including flat files.

Joel

deriderj at 2007-7-5 22:52:11 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4

ohhhhh! are you very smart!

thank you for your help...

Of course that COBOL is not a DBMS.

I have some files .DAT that I used with COBOL program. These files was created in COBOL. (NOt in dBase or something else) (are you used COBOL?)

I ask for a COBOL jdbc driver or something that I can use to access this files, because I know that this files was created With COBOL programming.

pedro.garcia at 2007-7-5 22:52:11 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 5

Okay, you already know that COBOL is not a database. But you have these files... so, what database created them? We know it wasn't COBOL, so what was it? Don't just tell us the file extension is .DAT, everybody and his dog has used that. Once you know what database it was, you can search for a JDBC driver for that database.

But more likely they are not database tables at all, just files. In that case you won't find a JDBC driver, and you will have to write programs that read and interpret the files sequentially. Probably you will have to look at the COBOL record layouts to find out how the files are structured.

DrClap at 2007-7-5 22:52:11 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 6
Yes, I wrote COBOL programs for 10 years. Sorry I offended you. I didn't mean to. However, you will never get help from me again.
deriderj at 2007-7-5 22:52:11 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...