Cobol calling Database in UNIX



IBM's flagship relational database management system

Cobol calling Database in UNIX

Postby jaggz » Tue May 15, 2012 2:36 pm

Dear Forum users,

Could anyone please site some example in using COBOL to call Database sitting on a UNIX machine ? Are there any manuals or Link which would help me in writing a COBOL program to access the UNIX database.

Any pointers or suggestions are highly appreciated.

Jaggz
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 5 times

Re: Cobol calling Database in UNIX

Postby Robert Sample » Tue May 15, 2012 5:05 pm

It may -- or may not -- be possible to do what you want. It all depends upon the database running on the Unxi machine and what communications capabilities it supports. The only way you can answer your question will be to read the documentation from the vendor of the Unix database to determine whether or not cross-machine communciation is supported, and if so what is required to use it.

This is NOT a mainframe question -- it is a Unix and database question.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Cobol calling Database in UNIX

Postby dick scherrer » Tue May 15, 2012 7:56 pm

Hello,

How to do this (if it is possible) should be documented by the database vendor. They typically show how something remote can access their database system. Once you see what alternatives exist, work with your network and database people (mainframe and unix) to learn what is available on your system.

The answer is most likely to be site-specific as many places do this and there is no "one way fits all" solution.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to DB2

 


  • Related topics
    Replies
    Views
    Last post