473,662 Members | 2,464 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with db2Load API (COPY= YES USE TSM)

Hi,

Ive written a test program for loading data into a table using the
db2Load api. It works fine except when i specify COPY = YES USE TSM.
Ive set the aforementioned attribute in the api by the following line
of code:

if(useTsm == 'Y' || useTsm == 'y')
{
loadParms.piCop yTargetList = &copyMediaLi st;
loadParms.piCop yTargetList->media_type = SQLU_ADSM_MEDIA ;
loadParms.piCop yTargetList->sessions = 1;
}

On running the program i get the following error:

SQL2032N The "copy_flag" parameter is not valid

What might be the problem ?
Jan 30 '08 #1
0 1365

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

Similar topics

0
3482
by: Eric | last post by:
Hi everyone, I've got a problem with sending db2 backups and logs to TSM. If I start OnDemand the old fashion way (db2start), I can make a backup (db2 backup <instace> use tsm) or (/usr/lpp/ars/bin/arsdb -I <instance> -v -y adsm). But if I use the Ondemand program to start OnDemand (/usr/lpp/ars/bin/arsdb -I <instance> -gkv), none of the backups work. The first cmd results with : SQL2062N An error occurred while accessing media...
8
1634
by: Anantha | last post by:
Hi All, We are haveing 4 DB's in our company, and presently we used to take offline backup on once in a week, we knew we cant recover last-in-time data. But we would like to shift to some new technique which saves time, sapce & last-in-time recover. we heard about the online backups and incremental backups, what are they actually, what is the differences. Here the main requirements is recovering the with- miniual loss and 24x7...
3
1658
by: nekiv90 | last post by:
Greetings, We need to initial load hundreds of tables from within programs. We try to run several programs that call the DB2LOAD in parallel (to load different tables of course) in order to speed up the process. However, the program that completes the DB2LOAD first appears to cancel the subsequent DB2LOAD by other programs. No obvious error found in db2diag.log.
5
11040
by: shenanwei | last post by:
I have DB2 backed up to TSM from the production system. How can I use db2adutl to view the backup info from other server instead of production.
0
983
by: Suresh | last post by:
Hi All I am tring to call SYSPROC.DB2LOAD stored procedure from DB2 UDB 8.2. Command editor. i used the follwoing syntax... CALL DB2LOAD (1,NULL,'LOAD CLIENT FROM "/home/db2inst1/Suresh/LoadCards.txt" OF DEL MODIFIED BY CODEPAGE=850 COLDEL0x09 METHOD P (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) MESSAGES "/home/db2inst1/Suresh/LoadMessage.txt" INSERT INTO CUSTOMER.CARD (SUPPORTERID, CARDNUMBER, EXPDATE, TERMINATIONDATE, CARDTYPECODE,
7
4710
by: Vivek | last post by:
Hi, I want to know if it is possible to load(using the db2load API) into a remote database. By remote database i mean one that i have cataloged. Any parameters that need to be changed ? TIA
1
5190
by: Joachim Klassen | last post by:
Hi all, a couple of questions regarding LOAD COPY YES: when does a LOAD COPY YES start to write its backup image ? After LOAD Phase or after BUILD or DELETE phase? What gets backed up - data pages only or index pages as well? When I use TSM as backup target, will DB2 send an estimate of the backup size to TSM before backup starts? TIA for any answer
5
9271
by: vijay.db | last post by:
Hi Group, I'm running DB2 UDB Enterprise Edition V7.1 in AIX 4.3.3.0. And database backups goes to the TSM server. We have the following TSM Client API installed in the server: tivoli.tsm.client.api.aix43.32bit 5.1.6.0 C TSM Client - Application Programming Interface Now my backup getting terminated with the following message in the
2
4513
by: mvsmsh | last post by:
Hi , How can I load without copy in UDB V8/AIX , I don't want copy or backup after load. Are there any command in UDB , like Z/OS DB2 "repair tablespace nocopypend" ?
0
8432
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
8343
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,...
1
8545
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7365
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...
0
5653
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();...
0
4179
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1747
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.