If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Intelligent network database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-12, 03:27
masrawy_2000 masrawy_2000 is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
Intelligent network database

Dear All experts.

I'm working in Siemens intelligent network platform (SINIX_Reliant UNIX) which consists of SMP machine (service management point) & SCP machine (service control point) , The SMP DB is Informix and for the SCP I found that question on the internet and its related answer :

Q: What data base version is installed?
Ans: If the file $SCP_DATA/iam1.r.0 exists a DB2 is installed otherwise a DB1.

so i found that file (iam1.r.0) but i can't find any DB2 when executing (env|grep -i db) also when executing (db2 connect to .....).

and i need to access the database to get our customer data.

any suggestions?

Thank you
Reply With Quote
  #2 (permalink)  
Old 01-02-12, 04:02
amitrai4 amitrai4 is offline
Registered User
 
Join Date: Aug 2011
Posts: 46
run db2ls command, to check whether db2 installed.
for older versions of db2 you can also check with rpm(linux) or lslpp(AIX) command .
Reply With Quote
  #3 (permalink)  
Old 01-02-12, 04:06
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
if you need to find info about db2 (question is not clear)
try to find if db2 is installed - check if /var/db2/global.reg exists
in this file there is an entry pointing to install location
in this path there is an executable db2ls that returns more info about db2
db2 connect .. can only be executed in a prepared environment (instance owner .. client..)
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #4 (permalink)  
Old 01-03-12, 05:45
masrawy_2000 masrawy_2000 is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
Thanks

Thank you amitrai4 and przytula_guy for your fast response.

I didn't find db2ls or rpm or lslpp commands !!! also cannot find var/db2 path

I don't know if there is something missing or not installed .

thank you and happy new year
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On