The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Calling script from RM cobol and returning value to cobol pavanmp Shell Programming and Scripting 1 04-29-2009 02:58 PM
cobol crn programme run on express cobol as .gnt bibi High Level Programming 2 08-04-2008 09:54 PM
how to call to unix through cobol naamas03 Shell Programming and Scripting 8 10-22-2006 07:08 AM
Cobol On Unix vinit_cyberguy UNIX for Dummies Questions & Answers 2 09-12-2005 09:09 AM
Cobol linking in Unix soulfactory2002 SUN Solaris 0 05-10-2005 06:23 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
nal.satish nal.satish is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 1
Acceessing DB2 UDB in AIX COBOL on unix

Hi ,

We are migrating our database from DB2 z/os to DB2 UDB on UNIX.
and cobol on mainframes to AIX cobol on UNIX.

We have some cobol Db2 programs that are accessing different Databases
how do we code such type of programs in AIX cobol.

Do we need to Establish connection for accessing Each Tables

e.g

Table1 under Database1
Table2 under Database2

While Accessing These tables
do we need to connect to

connect to Database1

Exec SQL
select from table1
End-Exec

connect to Database2

Exec SQL
select from table2
End-Exec

Is this correct way for programming.
Is there any alternate approach for doing this.

and how do we compile such cobol and execute DB2 Programs.

Thanks,
Satish
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0