473,396 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 5077
"Raquel" <ra****************@yahoo.com> wrote in message
news:9a*************************@posting.google.co m...
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*************************@posting.google.com> ,
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
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...
1
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
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
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. +...
1
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...
3
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...
0
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...
1
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.