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
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.
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.