473,385 Members | 2,069 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,385 software developers and data experts.

Exporting and Importing tasks to Task Center

klh
We are running on Win 2003/DB2 V8 FP7a.

My question concerns Task Center. I have about 200 tasks created and
scheduled in Task Center. We are going to be moving many of the
databases from this server to another V8 server and I really, really,
really don't want to have to re-key all of these tasks on the new
system.

The Task Center "export" function seems to only export general task
information like the description and type of task, but not the task
itself. I'm not really sure what this is good for since it does not
appear to be compatible with the Task Center "import" function.

I thought about backing up the tools database and restoring on the
target system, but then I'd wipe out the tasks already defined on the
target system.

If I knew the appropriate tables in the tools database I could export
the data and import it into the target system, but they use so many
auto-generated keys (apparently) that it would be a big risk on
duplicating key values.

Does anybody know of a way to do this?

Is there a "batch" method of defining a task to Task Center?
Thanks in advance,
klh

Nov 12 '05 #1
9 3657
"klh" <kh******@yahoo.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
We are running on Win 2003/DB2 V8 FP7a.

My question concerns Task Center. I have about 200 tasks created and
scheduled in Task Center. We are going to be moving many of the
databases from this server to another V8 server and I really, really,
really don't want to have to re-key all of these tasks on the new
system.

The Task Center "export" function seems to only export general task
information like the description and type of task, but not the task
itself. I'm not really sure what this is good for since it does not
appear to be compatible with the Task Center "import" function.

I thought about backing up the tools database and restoring on the
target system, but then I'd wipe out the tasks already defined on the
target system.

If I knew the appropriate tables in the tools database I could export
the data and import it into the target system, but they use so many
auto-generated keys (apparently) that it would be a big risk on
duplicating key values.

Does anybody know of a way to do this?

Is there a "batch" method of defining a task to Task Center?
Thanks in advance,
klh

Not sure, but can't you just backup and restore the tools database to the
new server?

BTW I would move to FP8 if you can.
Nov 12 '05 #2
klh
> Not sure, but can't you just backup and restore the tools database to
the
new server?
Unfortunately, I can't do that the target server is not a new server
and it already has databases and tasks defined on it. So restoring the
tools database to the target server would wipe out the tasks on that
system.
BTW I would move to FP8 if you can.

Can you expand on this? I was looking at the APAR list for that fixpak
the other day and it only listed fixes for fixpaks 7a, 7, 6, etc. but
not fixpak 8. Is there anything specifically it fixes?

Thanks,
klh

Nov 12 '05 #3
"klh" <kh******@yahoo.com> wrote in message >
BTW I would move to FP8 if you can.

Can you expand on this? I was looking at the APAR list for that fixpak
the other day and it only listed fixes for fixpaks 7a, 7, 6, etc. but
not fixpak 8. Is there anything specifically it fixes?

Thanks,
klh

There are many fixes for FP8. I don't know if they messed up the APAR list
for the OS/FP you were looking at, but it is there for most of the OS's.
http://www-306.ibm.com/software/data...ownloadv8.html
Nov 12 '05 #4
If Backup/restore is not an option, could you try using db2move???
That tool allows you to select tables by schema and/or owner. Extract
using export and import those tables using db2move import insert.
You still ay run into primary key violations from the contents to the
target but I don't know as I haven't looked at the table to see if it
has a PK constraint and what it is.
HTH, Pierre.

klh wrote:
We are running on Win 2003/DB2 V8 FP7a.

My question concerns Task Center. I have about 200 tasks created and
scheduled in Task Center. We are going to be moving many of the
databases from this server to another V8 server and I really, really,
really don't want to have to re-key all of these tasks on the new
system.

The Task Center "export" function seems to only export general task
information like the description and type of task, but not the task
itself. I'm not really sure what this is good for since it does not
appear to be compatible with the Task Center "import" function.

I thought about backing up the tools database and restoring on the
target system, but then I'd wipe out the tasks already defined on the
target system.

If I knew the appropriate tables in the tools database I could export
the data and import it into the target system, but they use so many
auto-generated keys (apparently) that it would be a big risk on
duplicating key values.

Does anybody know of a way to do this?

Is there a "batch" method of defining a task to Task Center?
Thanks in advance,
klh


--
Pierre Saint-Jacques - Reply to: sescons at attglobal dot net
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.
Nov 12 '05 #5
If Backup/restore is not an option, could you try using db2move???
That tool allows you to select tables by schema and/or owner. Extract
using export and import those tables using db2move import insert.
You still ay run into primary key violations from the contents to the
target but I don't know as I haven't looked at the table to see if it
has a PK constraint and what it is.
HTH, Pierre.

klh wrote:
We are running on Win 2003/DB2 V8 FP7a.

My question concerns Task Center. I have about 200 tasks created and
scheduled in Task Center. We are going to be moving many of the
databases from this server to another V8 server and I really, really,
really don't want to have to re-key all of these tasks on the new
system.

The Task Center "export" function seems to only export general task
information like the description and type of task, but not the task
itself. I'm not really sure what this is good for since it does not
appear to be compatible with the Task Center "import" function.

I thought about backing up the tools database and restoring on the
target system, but then I'd wipe out the tasks already defined on the
target system.

If I knew the appropriate tables in the tools database I could export
the data and import it into the target system, but they use so many
auto-generated keys (apparently) that it would be a big risk on
duplicating key values.

Does anybody know of a way to do this?

Is there a "batch" method of defining a task to Task Center?
Thanks in advance,
klh


--
Pierre Saint-Jacques - Reply to: sescons at attglobal dot net
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.
Nov 12 '05 #6
klh

Pierre Saint-Jacques wrote:
If Backup/restore is not an option, could you try using db2move???


I had considered this, but as you mention there are too many collisions
on primary key values. I might do a little more digging to see if
there are only a few tables I could export, change the primary keys
(and related foreign keys), then import. In the end though it sounds
like it is going to take about as much time as it would to just type it
all in again.

It'd be nice if IBM would supply a nice way to do batch exports and
imports of the ENTIRE definition of a scheduled task. Maybe a future
release or fixpak?? ;-)

Thanks for the suggestions though.
klh

Nov 12 '05 #7
Out of curiosity, what kind of functionality are you using task center
for?

This isn't the answer you were looking for, but...it might be less
time-consuming to just rewrite the tasks as simple scheduled software
using bash, ksh, python, perl, ruby, or whatever.

We've got a variety of scripts for this purpose. A simple script runs
hourly and warns of any filesystem or tablespace over a configuration
threshold on each of a dozen servers. Others warn of tables requiring
runstats, warehouse or marts not loading, servers offline, another
dumps all ddl & configuration info, others export or load data, etc,
etc.
buck

Nov 12 '05 #8
klh

Buck Nuggets wrote:
Out of curiosity, what kind of functionality are you using task center for?
Mainly we just need a method of scheduling routine maintenance,
backups, runstats, etc.
This isn't the answer you were looking for, but...it might be less
time-consuming to just rewrite the tasks as simple scheduled software
using bash, ksh, python, perl, ruby, or whatever.


We have Windows 2003 servers, so I think the only default scheduler is
the "AT" scheduler or "Scheduled Tasks" in Control Panel. We could use
these for some functions, but the Task Center has a lot nicer features.
For one thing we can trigger follow up jobs and can run multiple
schedules for the same job. We could probably simulate the same thing
in those schedulers, but it might be just as much effort going that
route. It's kind of brutal setting things up in Task Center, but once
you get things set up it's pretty solid. If they only had the bulk
import and export functions it would be a fantastic product (in my
opinion).

Nov 12 '05 #9
> For one thing we can trigger follow up jobs and can run multiple
schedules for the same job. We could probably simulate the same thing
in those schedulers, but it might be just as much effort going that route.

Right - for simple schedulers like cron or whatever windows uses, you
end up putting more logic into the actual script to work around
dependencies than if you were using something like a mainframe
scheduler, or it sounds like task center. I think you can run cron on
windows via cygwin, but it won't support triggers or dependencies.
If they only had the bulk import and export functions it would be a

fantastic product (in my opinion).

Yeah, I once inherited a data warehouse with 800 source systems (!)
running sql server using DTS (the sql server etl tool). And then
discovered how difficult it was to promote etl packages from dev to
test to prod - since they were all stored in the database. The prior
operation had an entire team retyping them by hand and retesting them
in production. We yanked all that stuff out and replaced it with a
simple custom etl application and our maintenance dropped from
horrifying to almost nothing overnight. I just recently saw a lengthy
sql server magazine article on tips for moving packages from one server
to another - so it appears that they still haven't really figured it
out.

I wonder what's going to be in db2 8.3?
Good luck,

buck

Nov 12 '05 #10

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

Similar topics

1
by: Dominic | last post by:
Just in case someone is interested. I came up with this solution since my previous posting. Maybe you've got some other ideas or critcism. I'll listen ;-) Ciao, Dominic P.S. Python is...
8
by: Another DB2 UDB DBA | last post by:
DB2 UDB ESE is running at V8.1 FP5 on 32-bit Solaris 7, single partition. The tools catalog database is on the same instance as everything else. I have not really embraced the DB2 Task Center...
3
by: jcolino | last post by:
Hi, I'm pretty sure the tasks that are in the task center are in a table somewhere, but I'm not finding them. Any ideas?
3
by: Odd Bjørn Andersen | last post by:
Is there a way to export the tasks from Task Center to script files? Or do I have to use copy&paste into a text editor.... I want to do this for documentation purposes. Regards Odd B Andersen...
3
by: blogan | last post by:
We are in the process of migrating from version 7, running on an OS/2 server to version 8.2, running on a Windows 2003 server. I did not do the install on the Windows server. When I try to...
2
by: Snozz | last post by:
The short of it: If you needed to import a CSV file of a certain structure on a regular basis(say 32 csv files, each to one a table in 32 databases), what would be your first instinct on how to...
1
by: John Overton | last post by:
I have a new requirement to Import and Export Excel tables into and out of Access 2003. The Excel tables are located on a remote server but I know the path to the Excel Files. Can you please help...
0
by: BD | last post by:
I'm running 8.2 on Windows. I have a situation where several scheduled tasks were created in Task Center, under an ID of a person who is leaving the organization. This person's ID is to be...
3
by: Steven Blair | last post by:
I have been watching an MSDN video on the PFX Task class and have a question. Here is my scenario: TcpListener waits on incoming connections. Once a new connection is established, a new Task...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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...

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.