I have a general question to make myself aware from a programming perspective the difference between using COBOL in AIX platforms and in Z/OS platforms.
Also, I would like to know how to if a cobol program running on mainframe get connected to ORACLE ? In my experience, I have personally not come across a mainframe application get connected to ORACLE or any other database apart from DB2.
Joined: 06 Jun 2008 Posts: 8279 Location: Dubuque, Iowa, USA
Google is your friend. Googling "z/os oracle cobol" returns 567,000 hits. The very first one is a chapter of the Oracle Database Developer's Guide on Developing Oracle Applications to Run on z/OS and talks about COBOL.
I cannot address the AIX issue, but COBOL on any two platforms will have some differences. Most of the language will be the same, but the file assignments differ. The various compilers extend COBOL and not always in the same way. The best source for an answer to your question would be the COBOL Language Reference manual for the platform you're interested in. That will detail the differences between standard COBOL and the platform version.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
In my experience, I have personally not come across a mainframe application get connected to ORACLE or any other database apart from DB2
I've supported mainframe environments where more than 10 different non-db2/non-oracle database systems are in use.
Each and every one has a unique way to "connect". For each, the best source of info is the dba or a senior developer for that particular environment.
As far as aix/unix, my team once migrated an entire mvs environment with almost no changes to the source code. As Robert mentioned, one change is the definition of files. Our effort was minimized as the only external files used by the applications were qsam files (no vsam). 100% of the online data was in database tables. Also, all of the online code was written in IDEAL, so there were no cics code issues. . .