IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Database connectivity in PC cobol


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jose.jeyan

New User


Joined: 28 Jul 2006
Posts: 60
Location: Mumbai

PostPosted: Tue Aug 22, 2006 7:36 pm
Reply with quote

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
View user's profile Send private message
cheetz007

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Tue Aug 22, 2006 7:38 pm
Reply with quote

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
View user's profile Send private message
cheetz007

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Tue Aug 22, 2006 7:40 pm
Reply with quote

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
View user's profile Send private message
jose.jeyan

New User


Joined: 28 Jul 2006
Posts: 60
Location: Mumbai

PostPosted: Wed Aug 23, 2006 1:42 pm
Reply with quote

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
View user's profile Send private message
cheetz007

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Wed Aug 23, 2006 2:50 pm
Reply with quote

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
View user's profile Send private message
jose.jeyan

New User


Joined: 28 Jul 2006
Posts: 60
Location: Mumbai

PostPosted: Wed Aug 23, 2006 5:42 pm
Reply with quote

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
View user's profile Send private message
cheetz007

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Wed Aug 23, 2006 5:55 pm
Reply with quote

OK, so, do you have MS Access?
Back to top
View user's profile Send private message
jose.jeyan

New User


Joined: 28 Jul 2006
Posts: 60
Location: Mumbai

PostPosted: Wed Aug 23, 2006 6:11 pm
Reply with quote

yeah
so can i connect .In which division i have to specify and wat to be coded for connecting
Back to top
View user's profile Send private message
cheetz007

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Wed Aug 23, 2006 6:20 pm
Reply with quote

Have you had a look at this? ...

www.easysoft.com/applications/micro-focus-cobol/server-express-openesql-odbc.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top