473,771 Members | 2,347 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can we create a sample database on the app dev client

Hi,

I have app dev client installed on my machine.

Can we create the sample database using db2sampl.

I was able to create database using the 'Create Database' command.

But I am not able to create Sample database using db2sampl.

Is db2sampl only executable on the server.

Is it not executable on the client,

Let me know.
Nov 18 '08 #1
2 3127
On Nov 18, 6:21*pm, kirthi.amu...@g mail.com wrote:
Hi,

I have app dev client installed on my machine.

Can we create the sample database using db2sampl.

I was able to create database using the 'Create Database' command.

But I am not able to create Sample database using db2sampl.

Is db2sampl only executable on the server.

Is it not executable on the client,

Let me know.
Until you get a better answer, try to attach to the instance:

db2 attach to <instnameuser <usernameusin g <password>
db2sampl
Nov 18 '08 #2
<ki***********@ gmail.comwrote in message
news:ce******** *************** ***********@v39 g2000pro.google groups.com...
Hi,

I have app dev client installed on my machine.

Can we create the sample database using db2sampl.

I was able to create database using the 'Create Database' command.

But I am not able to create Sample database using db2sampl.

Is db2sampl only executable on the server.

Is it not executable on the client,

Let me know.
When you say that you created a database, you mean (I hope) that you created
a database on server from the client.

db2sampl is not a db2 command. It is an executable program (which is not
part of the DB2 engine) that resides on the server at must be executed on
the server. If you have Linux or UNIX you can telnet or ssh to the server
and execute the command there. If you have Windows, you can use Remote
Desktop Connection to the server and execute the program.
Nov 19 '08 #3

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

Similar topics

3
3618
by: Roger | last post by:
Is it possible to create a database from a db2 client when the database contains both SMS and DMS tablespaces ? We have a special file structure that look like this : x:\instancename_dbname |-data (for DMS Containers) |-idx (for DMS Containers) |-SYSTEM SMS |-temp SMS
10
4039
by: ibm_97 | last post by:
Hi, all I'm new to DB2 world. DB2 8.1 enterprise on Win XP. Installation (typical method) is fine. I log in as 'abc' user (admin user) to do the installation. Now I have 'db2admin' user. As 'abc' user I am able to open 'control center'. But when I try to create sample database from 'First Steps', I get the error which is
1
2546
by: Tom Cusick | last post by:
We have a Job Shop database. When I get an order in I put all the line item information into the database. Some orders have multiple lines and most of the information is the same. (eg. Customer Name, PO, Due Date, Received, etc.) 2 questions: 1. I have a button to create a new record on my switchboard, but what I would like that button to do is create a new record but enter in the next job number. Our job numbers are 'H1001', so I...
7
8869
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I want my users to be able to select a report, click on a command button on a form, which will then automatically create the report as a pdf file and save it to the user's machine. I am using Adobe Acrobat (5.0 I think) and have Adobe Distiller as a
6
5915
by: chuckdfoster | last post by:
Is there a way to create an New Outlook Appointment from an ASP.NET application? I would also need to check if Outlook is running first. Any suggestions, advice?
9
8324
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the records in the database. Is it possible to create a SQL Server database using vb.net? I know I can use vb.net and ADOX to create a Access database. But I can't create SQL database using vb.net.
0
1200
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi mister, I have an Winforms app (Client) and Web app + WCF Services + Windows Services (Server). In server, I have installed SQL SERVER 2000. Now, I want create a installer (MSI.exe or another Winforms app) to create a database, perhaps user, tables, stored procedures, .. Only the user introduces name of database, server, and if has Windows authentication; if not Windows authentication, I need user and password.
1
3818
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi mister, I have an Winforms app (Client) and Web app + WCF Services + Windows Services (Server). In server, I have installed SQL SERVER 2000. Now, I want create a installer (MSI.exe or another Winforms app) to create a database, perhaps user, tables, stored procedures, .. Only the user introduces name of database, server, and if has Windows authentication; if not Windows authentication, I need user and password.
0
2544
by: dbsog7777 | last post by:
I was trying to use the sample code below, but I encountered two errors: Application.DoEvents() and AutoText(entry). I am not sure how to correct the errors. I trying to use the sample code to create a mailmerge routine that accepts data from my SQL database and create a word doc that ce be previewed in the client browser. My OS is XP Pro and I am coding in VB.NET. Protected Sub CreateWordMailMerge(ByVal strLabelName As String, _ ...
0
9619
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10260
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10102
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9910
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
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
3
2850
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.