MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to connect to DB2 on MVS?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Thu Feb 12, 2004 1:58 am    Post subject: How to connect to DB2 on MVS? Reply with quote

Hello:

As I konw, On Windows: we use ODBC drive to connect with DB2 or other database. On Java, we use JDBC to conect with database. I do not know how to connect to DB2 on MVS using Cobol? Is there has something like ODBC on mainframe environment ?

Thanks.

Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Thu Feb 12, 2004 6:08 am    Post subject: Reply with quote

Andy,

Usually a typical COBOL-DB2 program will run using the TSO Terminal Monitor Program (TMP) which is IKJEFT01.The DSN command processor is the DB2 interface in here for cobol.

An IMS program can access DB2 when the external subsystem (DB2 in this case) is defined to the region. This can be probably found in the IMS.PROCLIB with a member name starting with the IMSID followed by the value of the SSM parameter for the message region.The plan name should be the same as the program name unless it is defined otherwise in the Resource Translation Table.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Fri Feb 13, 2004 1:17 pm    Post subject: Reply with quote

Hi Kolusu:

thanks.

Andy
_________________
cheers,
Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group