View previous topic :: View next topic
|
Author |
Message |
jose.jeyan
New User
Joined: 28 Jul 2006 Posts: 60 Location: Mumbai
|
|
|
|
can anyone help me for connecting database with pc cobol pls reply me i am in urgent need wat database can i connect with pc cobol.. |
|
Back to top |
|
|
cheetz007
New User
Joined: 10 Aug 2006 Posts: 23
|
|
|
|
You mean DB2/Access/IMS/Sybase? Any of them, I think! However, you will almost certainly need something that will act as an agent for your DB requests. You don't mention where you are running your COBOL - this will make a big difference to which databases will be available to you. |
|
Back to top |
|
|
cheetz007
New User
Joined: 10 Aug 2006 Posts: 23
|
|
|
|
OK, so you do mention PC COBOL - sorry, I didn't read your post properly!
Do you have a database in mind? I am not too familiar with PC COBOL, but my guess would be that a PC database would be the easiest to connect to.
Or do you have an existing database that you need to connect to? |
|
Back to top |
|
|
jose.jeyan
New User
Joined: 28 Jul 2006 Posts: 60 Location: Mumbai
|
|
|
|
hey cheetz,
Thanks for ur consideration.I am speaking abt the mf cobol (ie not connected with mainframe system).This is micro focus cobol ver - cobol 74.
I am asking whether i can connect any database like mc access or oracle with cobol program,just like using odbc jdbc in java for connecting database Is there any special command used for connecting the database with our progam . And how can i do that... |
|
Back to top |
|
|
cheetz007
New User
Joined: 10 Aug 2006 Posts: 23
|
|
|
|
OK, sorry, I'm not sure that I can be a great deal of help, but when I last used MF COBOL, it was set up to access Access. I think that it's a native ability of Windows to be able to talk to an Access database.
If you wanted to connect to a different type of database that is running on the same PC I would expect that the install procedure of that particular DB would at the very least ask you if you wanted it to set up the correct ODBC drivers etc.
However, if you wanted to, say, connect to a DB2 DB on a mainframe, or maybe a DB on an AIX machine, you would probably (and this is just thinking on the fly) have to d/l some specific drivers - probably provided by the DB vendors.
Can you be more specific about your requirements? |
|
Back to top |
|
|
jose.jeyan
New User
Joined: 28 Jul 2006 Posts: 60 Location: Mumbai
|
|
|
|
hey i am working on a mainframe systems and i am doing a project privately with mfcobol and i am need of connecting a database since i have to maintain a lot of data such as update,retreive since it will be more easy when compared to files. thats why |
|
Back to top |
|
|
cheetz007
New User
Joined: 10 Aug 2006 Posts: 23
|
|
|
|
OK, so, do you have MS Access? |
|
Back to top |
|
|
jose.jeyan
New User
Joined: 28 Jul 2006 Posts: 60 Location: Mumbai
|
|
|
|
yeah
so can i connect .In which division i have to specify and wat to be coded for connecting |
|
Back to top |
|
|
cheetz007
New User
Joined: 10 Aug 2006 Posts: 23
|
|
Back to top |
|
|
|