473,513 Members | 3,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Instance Creation Query - "db2iexec"

Hello Folks,
Here's wishing you MERRY CHRISTMAS and Festive seasons's greeting!!

Now this has been bugging me for quite a while and I seek your help in
setting my mind to peace.
As part of DB2 Instance creation on Unix, I issue this command (from
standard script):
__________________________________________________ _______
"db2iexec db2inst1 . sqllib/db2profile"
__________________________________________________ _______
[db2inst1 is the DB2 instance name]

ENVIRONMENT: DB2 UDB ESE 8.1 FPx on AIX 5.x

QUESTIONS:
(1) What does this command do (Do I really achieve anything)?
(2) What can happen if I skip this command?

TiA..................anurag

Dec 22 '05 #1
1 3184
Anurag wrote:
Hello Folks,
Here's wishing you MERRY CHRISTMAS and Festive seasons's greeting!!

Now this has been bugging me for quite a while and I seek your help in
setting my mind to peace.
As part of DB2 Instance creation on Unix, I issue this command (from
standard script):
__________________________________________________ _______
"db2iexec db2inst1 . sqllib/db2profile"
__________________________________________________ _______
[db2inst1 is the DB2 instance name]

ENVIRONMENT: DB2 UDB ESE 8.1 FPx on AIX 5.x

QUESTIONS:
(1) What does this command do (Do I really achieve anything)?
(2) What can happen if I skip this command?


db2iexec is not exactly supported for use outside of DB2 install and
instance management tools - otherwise it would be documented in the command
reference ;-)

That command does nothing. It becomes db2inst1 (using 'su' - which means
that this only works if you're already root), runs ". sqllib/db2profile",
and then exits, losing any changes to the environment that db2profile does.

As it does nothing (it's an expensive no-op), nothing will happen if you
skip that command.
Dec 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1137
by: CxG | last post by:
When creating a second named instance, on the Setup Type window I have a problem with the system drive space available. In the Setup Type window... - Select Typical. - Leave Program Files to the C drive. - Leave Data File to the C drive. I hit Next to continue but then receive a warning that there is not
2
1460
by: dave1997_us | last post by:
Hello, I get the same o/p for the 2 pieces of code below: Base *b = new Base ; b->test() ; delete b ; vs just saying: (new Base)->test() ; In the second case, how is the object created and what instance of the
1
1537
by: mairhtin o'feannag | last post by:
Hello, I am about to (fingers and mouse at the ready) install DB2 on a Linux machine using the db2setup command. All is well. But .... During the install it asks if I want to create an instance, which I believe I do. My hesitation is that this computer will be the co- ordinator node for a multi-node (two computers) system in the very...
1
4312
by: Enrico Foschi | last post by:
GoodMorning, I'm an italian developer, so, first of all, excuse me for my poor and incorrect english. I am writing here hoping to find some advice for a procedure that a like to create: I would like to create a software where all services available (database view, database backup, etc...) are listes in an xml file, ex: <list>
1
1417
by: Kyote | last post by:
I'm trying to make a DB program for personal use. I also use vs.net and want to use vb.net as the front end of my db. Is there a way I can get the db creation string from access to use in my vb.net code? ------- Kyote
9
1212
by: glomde | last post by:
Hi I wonder if you can set what subclass a class should have at instance creation. The problem is that I have something like: class CoreLang(): def AssignVar(self, var, value): pass class Lang1(CoreLang):
1
6698
by: mitrofun63 | last post by:
Hi, All I have trouble with db2 instance creation (DB2 9.1.2 on AIX 5.3) When i run command for instance creation : ../db2icrt -a SERVER -p 50000 -s ese -u db2fenc1 db2inst1 a reciveve error in generated log file db2icrt.log.118872 :
0
2632
tlhintoq
by: tlhintoq | last post by:
My project involves reading magstripe cards, capturing an ID number, then spinning off to do some other things including taking a photograph. 99% of this is done and good. All early phases of work went well... Until the final assembly and "beefing up" of the project. The magcard reader is made by Magtek. They provide an ActiveX component as...
0
1644
by: db2dbdba | last post by:
How can I find time/timestamp of instance creation on DB2 LUW? I thought I might find this info on dbm snapshot but no luck. it gives only the information on last start time of instance ? I looked at ~/sqllib directory's timestamp as well but afraid that the time might get modified if someone performed an db2iupdt instance update. Please...
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7563
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7543
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3252
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.