Steps In Creating Instance and Database in IBM DB2

Monday, July 13, 2009 | |

01. Click Start on the Windows Toolbar

02. Click Run...

03. Type db2cw on the Open combo box and click OK button

=== please wait until DOS Prompt appears

04. On the DB2 Command Window, type the following commands and press Enter key for each line of command:

db2icrt DEV

db2 CATALOG LOCAL NODE DEV INSTANCE DEV SYSTEM OSTYPE WIN WITH 'Instance for OIS'

=== Substitute with the full computer name of the computer
=== You can see the full computer name by: right-click My Computer, Select Properties and Click Network Identification

05. Start DB2 - DEV instance on Services

=== make it automatic
=== Select This account on Log On tab
=== User name .\db2admin
=== Password password
=== Confirm password password

06. Start DB2 Governor on Services

=== make it automatic

07. On the DB2 Command Window, type the following commands and press Enter key for each line of command:

db2 ATTACH TO DEV

db2 CREATE DATABASE OIS ON C: WITH 'Database for OIS'

=== please wait until DOS Prompt appears

exit

08. Click Start on the Windows Toolbar

09. Click Run...

10. Type db2ca on the Open combo box and click OK button

=== please wait until Configuration Assitant appears

11. On the pane, right-click OIS and click Change Database...

=== please wait until Change Database Wizard appears

12. Click Database

13. Type S_OIS on Database alias text box and click Next button

14. Enter the following parameters:

Register this database for ODBC checked
As system data source selected
As user data source unselected
As file data source unselected
Data source name S_OIS
Optimize for application None

15. Click Finish button

16. Close the Configuration Assistant.

17. Open Data Sources (ODBC) on Administrative Tools

18. On System DSN tab, select S_OIS and click Configure button

19. Enter the following parameters:

Data source anme S_OIS
Description
User ID db2admin
Password password
Save Password checked (click OK button on the DB2 Message)

20. Click Connect button

=== DB2 Message must be "Connection tested successfully"
(click OK button on the DB2 Message)

21. Click Bind CLI/ODBC support utilities button

=== There must be result and click OK button

22. Click OK button

23. Click OK button

24. Click Start on the Windows Toolbar

25. Click Run...

26. Type db2cc on the Open combo box and click OK button

=== please wait until Control Center appears

27. On the Object View pane, click nodes of All Systems, , Instances until DEV instance OISplayed

28. Richt-click DEV instance and click Setup communications

29. Enter the following parameters:

NetBIOS unchecked
TCP/IP checked
NPIPE unchecked


30. Click Properties(2) button

31. Enter the following parameters:

Host name
Service name applctn
Port number 50001

32. Click OK button

=== message will appear

33. Click Close button

33. Click OK button

=== message will appear

34. Click Close button

35. Richt-click DEV instance and click Stop

36. Click OK button

=== message will appear

37. Click Close button

38. Richt-click DEV instance and click Start

=== message will appear

39. Click Close button

40. Close the Control Center.

0 comments:

Post a Comment

 

Privacy Policy for programmer-brienne.blogspot.com

If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at denric25@yahoo.com.

At programmer-brienne.blogspot.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by programmer-brienne.blogspot.com and how it is used.

Log Files Like many other Web sites, programmer-brienne.blogspot.com makes use of log files. The information inside the log files includes internet protocol ( IP ) addresses, type of browser, Internet Service Provider ( ISP ), date/time stamp, referring/exit pages, and number of clicks to analyze trends, administer the site, track user’s movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable.

Cookies and Web Beacons programmer-brienne.blogspot.com does not use cookies.

DoubleClick DART Cookie

.:: Google, as a third party vendor, uses cookies to serve ads on programmer-brienne.blogspot.com. .:: Google's use of the DART cookie enables it to serve ads to your users based on their visit to programmer-brienne.blogspot.com and other sites on the Internet. .:: Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy at the following URL - http://www.google.com/privacy_ads.html

Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include ....... Google Adsense

These third-party ad servers or ad networks use technology to the advertisements and links that appear on programmer-brienne.blogspot.com send directly to your browsers. They automatically receive your IP address when this occurs. Other technologies ( such as cookies, JavaScript, or Web Beacons ) may also be used by the third-party ad networks to measure the effectiveness of their advertisements and / or to personalize the advertising content that you see.

programmer-brienne.blogspot.com has no access to or control over these cookies that are used by third-party advertisers.

You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. programmer-brienne.blogspot.com's privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites.

If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites.

Nunag Free and Premium Web Directory