473,804 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2 APIs

A very basic question to all the esteemed listers. I am going through
UDB manual. At the end of each chapter, "DB2 APIs" are listed. For
example a multi-page description of the DB2 API "db2Restore " is
provided at the end of the chapter on 'Database Restore'.

Now, what are these APIs and how can I use them?

TIA
Raquel.
Nov 12 '05 #1
3 5100
"Raquel" <ra************ ****@yahoo.com> wrote in message
news:9a******** *************** **@posting.goog le.com...
A very basic question to all the esteemed listers. I am going through
UDB manual. At the end of each chapter, "DB2 APIs" are listed. For
example a multi-page description of the DB2 API "db2Restore " is
provided at the end of the chapter on 'Database Restore'.

Now, what are these APIs and how can I use them?

TIA
Raquel.


Most DBA's don't need them, they just use the DB2 commands in a script.
Someone who was writing software like the Control Center, might use them to
invoke a DB2 command from inside a C or Java program.
Nov 12 '05 #2
In article <9a************ *************@p osting.google.c om>,
Raquel <ra************ ****@yahoo.com> wrote:
A very basic question to all the esteemed listers. I am going through
UDB manual. At the end of each chapter, "DB2 APIs" are listed. For
example a multi-page description of the DB2 API "db2Restore " is
provided at the end of the chapter on 'Database Restore'.

Now, what are these APIs and how can I use them?


The DB2 APIs are documented in a separate manual (Administrative API
Reference) and generally require you to write a C/C++ program to use
them. They are the low-level primitives in terms of which most of the
DB2 utilities are implemented.

Using the admin apis, you can efficiently perform operations that would
be less efficient (but easier) using the DB2 command-line processor,
e.g. get a snapshot, list active applications, query tablespace
information, etc.

I would not recommend using the API to perform database restores, as I
expect the existing command-line utility performs a lot of additional
argument checking before invoking the low-level admin API call.
Nov 12 '05 #3
Thank you Mark and Hildo. This makes things clearer for me.

Thanks.
Raquel.
Nov 12 '05 #4

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

Similar topics

2
1523
by: Tanuki | last post by:
Hi All: I am doing some development in VC++ using some llibraries downloaded from the web. The library comes in 3 files <mylib.dll>, <mylib.lib>, <mylib.exp> and I also have <mylib.h>. As stated in the readme guide provided, to use the library, we need to call APIs defined inside the library. In the <mylib.h> file, there are defined APIs as follows:
1
1174
by: cindy liu | last post by:
Hi, I'd like to create xml string based on my xsd file. Is there any .Net APIs to do this? Like in BizTalk 2004, you can generate xml instance based on xsd file. Thanks in advance!!! Cindy
7
2627
by: Mustafa Rabie | last post by:
Hi I am writing and application using C# and i want to use some APIs from an SDK. I want to know how can i incorperate the libs, .h etc to the C# file and use the apis. Thanks Mustafa
8
5332
by: José Achig | last post by:
Hi I have to use functions inside of system apis so I want the correct dllimports declarations in c# for the following functions or information about where I can get these statements. + OpenProcess + CloseHandle + EnumProcesses +EnumProcessModules
1
1448
by: Vikas | last post by:
Hello, I am consuming a C++ COM dll exposed by a 3rd party from a C# application but I do not have a documentation of the APIs exposed by it. Is there a command or tool available that will tell me what APIs are exposed by this dll? Thanks. *** Sent via Developersdex http://www.developersdex.com ***
3
13726
by: TC | last post by:
Hey Folks, I am using the following 4 Win32 APIs with a C# AddIn: FindWindow SetWindowLong SetForegroundWindow EnableWindow Within the AddIn, there are some winforms. I use these APIs to set them as
0
858
by: karthik.balaguru | last post by:
Hi, Is CCW(COM Callable Wrapper) independent/dependent on any kind of language ? If we are able to Access .NET APIs via a CCW from VB6. Is it possible to use the same CCW and access .NET APIs from VC++ ? Thanx in Advance, Karthik Balaguru
1
2479
by: nagrik | last post by:
Hello Group, I am writing a http client and reading a web page from the server. The page can be compressed in any of the format namely; gzip or deflate or compress. My client reads the page in chunks from the socket and then passes on the decompressed data to the user. I am makeing use of zlib APIs to decompress the data read from the server.
0
9714
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
9594
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10350
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
9174
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
7638
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
6866
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4311
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
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
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.