Page 1 of 1

Cobol calling Database in UNIX

PostPosted: Tue May 15, 2012 2:36 pm
by jaggz
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

Re: Cobol calling Database in UNIX

PostPosted: Tue May 15, 2012 5:05 pm
by Robert Sample
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.

Re: Cobol calling Database in UNIX

PostPosted: Tue May 15, 2012 7:56 pm
by dick scherrer
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.