GeekInterview.com
Series: Subject: Topic:
Question: 54 of 231

Sharing the database connection across different COBOL Modules in IBM AIX.

Consider there are three different COBOL modules named 'A', 'B' and 'C' in IBM AIX OS. The program flow is 'A' calls 'B', 'B' calls 'C'. I have established the ORACLE database connection in the module 'A'. I want to use the same ORACLE database connection in the modules 'B' and 'C'.

I have tried linking all the modules as follows :
"cob2 A.cbl B.cbl C.cbl -o ABC".

The executable file "ABC" is executing the module 'A' first and then it calls 'B'. But the ORACLE SQL statements in the module 'B' is not getting executed because of the absence of DATABASE CONNECTION.

Can anyone tell me how to share the database connection across the different COBOL Modules in IBM AIX ?

--
Kind Regards,
Mohan
Asked by: mohanaraj_j | Member Since Nov-2007 | Asked on: Nov 29th, 2007

View all questions by mohanaraj_j

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.