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

db2 v7 zos archive logging

I need to import a huge .ixf file from a pc to db2 v7 zos.

Is there a way to stop archive logging while the
data is being imported?
If not, is it safe to delete archive logs that haven't expired?

Thanks.
Nov 12 '05 #1
7 4264
In article <1e*************************@posting.google.com> ,
Carmine <ca************@iqfinancial.com> wrote:
I need to import a huge .ixf file from a pc to db2 v7 zos. Is there a way to stop archive logging while the
data is being imported?
Try LOAD with LOG NO !

Do not use SQL INSERT - it is MUCH slower ... partly because it will log
all the changes.
If not, is it safe to delete archive logs that haven't expired?


Noooooo! The logs apply to the whole DB2 subsystem - all application data
changes and system catalog/directory.

Martin

--
Martin Avison
Note that emails to News@ will be junked. Use Martin instead of News
Nov 12 '05 #2
This is what I get when I try to do a load
from a pc to the mainframe...

SQL1325N The remote database environment does not support the
command or one of the command options.

Martin <Ne**@avisoft.force9.net> wrote in message news:<4c4e5928d4Ne**@avisoft.force9.net>...
In article <1e*************************@posting.google.com> ,
Carmine <ca************@iqfinancial.com> wrote:
I need to import a huge .ixf file from a pc to db2 v7 zos.

Is there a way to stop archive logging while the
data is being imported?


Try LOAD with LOG NO !

Do not use SQL INSERT - it is MUCH slower ... partly because it will log
all the changes.
If not, is it safe to delete archive logs that haven't expired?


Noooooo! The logs apply to the whole DB2 subsystem - all application data
changes and system catalog/directory.

Martin

Nov 12 '05 #3
In article <1e*************************@posting.google.com> ,
Carmine <ca************@iqfinancial.com> wrote:
This is what I get when I try to do a load
from a pc to the mainframe... SQL1325N The remote database environment does not support the
command or one of the command options. Martin <Ne**@avisoft.force9.net> wrote in message news:<4c4e5928d4Ne**@avisoft.force9.net>...
In article <1e*************************@posting.google.com> ,
Carmine <ca************@iqfinancial.com> wrote:
I need to import a huge .ixf file from a pc to db2 v7 zos.

Is there a way to stop archive logging while the
data is being imported?


Try LOAD with LOG NO !

Do not use SQL INSERT - it is MUCH slower ... partly because it will
log all the changes.
If not, is it safe to delete archive logs that haven't expired?


Noooooo! The logs apply to the whole DB2 subsystem - all application
data changes and system catalog/directory.


You may have to copy the data to the mainframe, then run the LOAD on the
mainframe.

Martin

--
Martin Avison
Note that emails to News@ will be junked. Use Martin instead of News
Nov 12 '05 #4
you can not run load from pc into mainframe, use file transfer
utility to main frame , create JCL , use load utility

that will work
ca************@iqfinancial.com (Carmine) wrote in message news:<1e*************************@posting.google.c om>...
This is what I get when I try to do a load
from a pc to the mainframe...

SQL1325N The remote database environment does not support the
command or one of the command options.

Martin <Ne**@avisoft.force9.net> wrote in message news:<4c4e5928d4Ne**@avisoft.force9.net>...
In article <1e*************************@posting.google.com> ,
Carmine <ca************@iqfinancial.com> wrote:
I need to import a huge .ixf file from a pc to db2 v7 zos. Is there a way to stop archive logging while the
data is being imported?


Try LOAD with LOG NO !

Do not use SQL INSERT - it is MUCH slower ... partly because it will log
all the changes.
If not, is it safe to delete archive logs that haven't expired?


Noooooo! The logs apply to the whole DB2 subsystem - all application data
changes and system catalog/directory.

Martin

Nov 12 '05 #5
will it work with an ixf file,
or does the file have to be ascii?
thanx...
el****@hotmail.com (Lekharaju) wrote in message news:<1f**************************@posting.google. com>...
you can not run load from pc into mainframe, use file transfer
utility to main frame , create JCL , use load utility

that will work
ca************@iqfinancial.com (Carmine) wrote in message news:<1e*************************@posting.google.c om>...
This is what I get when I try to do a load
from a pc to the mainframe...

SQL1325N The remote database environment does not support the
command or one of the command options.

Martin <Ne**@avisoft.force9.net> wrote in message news:<4c4e5928d4Ne**@avisoft.force9.net>...
In article <1e*************************@posting.google.com> ,
Carmine <ca************@iqfinancial.com> wrote:
> I need to import a huge .ixf file from a pc to db2 v7 zos. Is there a way to stop archive logging while the
> data is being imported?

Try LOAD with LOG NO !

Do not use SQL INSERT - it is MUCH slower ... partly because it will log
all the changes.

> If not, is it safe to delete archive logs that haven't expired?

Noooooo! The logs apply to the whole DB2 subsystem - all application data
changes and system catalog/directory.

Martin

Nov 12 '05 #6
Don't waste your time trying to load that file using the load utility. It
simply doesn't work. In DB2 V8 for z/OS you will be able to load ascii
delimited files, but that's another story. Besides, even an ftp would solve
the problem for ixf files have thetable definition sitting on top of the
data.
This is what I would do:
- load the ixf file into a table on a DB2/UDB box that is "seen" by the
mainframe (TCP/IP used by DB2/UDB must be defined on the mainframe);
- create, if you haven't already done that, an entry in the communication
database pointing to the DB2 UDB database;
- create a table on the mainframe that has the same layout of the one in the
DB2/UDB database;
- run the load utility on the mainframe using a cursor that points to the
table on DB2/UDB. That way you can run the load using LOG NO.
Let me know if you need more info.
Enjoy,
Mauro.

"Carmine" <ca************@iqfinancial.com> wrote in message
news:1e************************@posting.google.com ...
will it work with an ixf file,
or does the file have to be ascii?
thanx...
el****@hotmail.com (Lekharaju) wrote in message

news:<1f**************************@posting.google. com>...
you can not run load from pc into mainframe, use file transfer
utility to main frame , create JCL , use load utility

that will work
ca************@iqfinancial.com (Carmine) wrote in message news:<1e*************************@posting.google.c om>...
This is what I get when I try to do a load
from a pc to the mainframe...

SQL1325N The remote database environment does not support the
command or one of the command options.

Martin <Ne**@avisoft.force9.net> wrote in message news:<4c4e5928d4Ne**@avisoft.force9.net>... > In article <1e*************************@posting.google.com> ,
> Carmine <ca************@iqfinancial.com> wrote:
> > I need to import a huge .ixf file from a pc to db2 v7 zos.

> > Is there a way to stop archive logging while the
> > data is being imported?
>
> Try LOAD with LOG NO !
>
> Do not use SQL INSERT - it is MUCH slower ... partly because it will log > all the changes.
>
> > If not, is it safe to delete archive logs that haven't expired?
>
> Noooooo! The logs apply to the whole DB2 subsystem - all application data > changes and system catalog/directory.
>
> Martin

Nov 12 '05 #7
would you mind sending more details?
tcp/ip is running on the mainframe,
but how do you create an entry in the communication database?
and can you give me a sample load using a cursor?
thanx a lot,
carmine
"Mauro Cazzari" <ma***********@sas.com> wrote in message news:<bo**********@license1.unx.sas.com>...
Don't waste your time trying to load that file using the load utility. It
simply doesn't work. In DB2 V8 for z/OS you will be able to load ascii
delimited files, but that's another story. Besides, even an ftp would solve
the problem for ixf files have thetable definition sitting on top of the
data.
This is what I would do:
- load the ixf file into a table on a DB2/UDB box that is "seen" by the
mainframe (TCP/IP used by DB2/UDB must be defined on the mainframe);
- create, if you haven't already done that, an entry in the communication
database pointing to the DB2 UDB database;
- create a table on the mainframe that has the same layout of the one in the
DB2/UDB database;
- run the load utility on the mainframe using a cursor that points to the
table on DB2/UDB. That way you can run the load using LOG NO.
Let me know if you need more info.
Enjoy,
Mauro.

"Carmine" <ca************@iqfinancial.com> wrote in message
news:1e************************@posting.google.com ...
will it work with an ixf file,
or does the file have to be ascii?
thanx...
el****@hotmail.com (Lekharaju) wrote in message

news:<1f**************************@posting.google. com>...
you can not run load from pc into mainframe, use file transfer
utility to main frame , create JCL , use load utility

that will work
ca************@iqfinancial.com (Carmine) wrote in message news:<1e*************************@posting.google.c om>... > This is what I get when I try to do a load
> from a pc to the mainframe...
>
> SQL1325N The remote database environment does not support the
> command or one of the command options.
>
>
>
> Martin <Ne**@avisoft.force9.net> wrote in message news:<4c4e5928d4Ne**@avisoft.force9.net>... > > In article <1e*************************@posting.google.com> ,
> > Carmine <ca************@iqfinancial.com> wrote:
> > > I need to import a huge .ixf file from a pc to db2 v7 zos. > > Is there a way to stop archive logging while the
> > > data is being imported?
> >
> > Try LOAD with LOG NO !
> >
> > Do not use SQL INSERT - it is MUCH slower ... partly because it will log > > all the changes.
> >
> > > If not, is it safe to delete archive logs that haven't expired?
> >
> > Noooooo! The logs apply to the whole DB2 subsystem - all application data > > changes and system catalog/directory.
> >
> > Martin

Nov 12 '05 #8

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

Similar topics

1
by: jjesso | last post by:
I am trying to add a new logging level. logging.config.fileConfig("bengineLog.cfg") logging.CLIENT = logging.INFO + 1 logging.addLevelName( logging.CLIENT, 'CLIENT' ) logging.root.setLevel( )...
0
by: Karuppasamy | last post by:
H I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net I installed everything as per the Instructions given in the 'Development Using the Logging Block' ...
6
by: pmatos | last post by:
Hi all, I am trying to create a simple but efficient C++ logging class. I know there are lots of them out there but I want something simple and efficient. The number one requirement is the...
1
by: DB2 Convert | last post by:
Hi, A few points to confirm as I am still new with DB2. 1. What will happen if archive logging is used, however there is no userexit or manual process to move those online archived logs to...
7
by: William | last post by:
I am using DB2 8.2 on RH Linux 8.0. I just compiled db2uext2.c but failed to archive the log files, did anybody fix this problem before? TIA db2diag.log 2005-06-12-12.39.52.305630-240...
0
by: robert | last post by:
As more and more python packages are starting to use the bloomy (Java-ish) 'logging' module in a mood of responsibility and as I am not overly happy with the current "thickener" style of usage, I...
1
by: saramathi | last post by:
I am a little confused about the archive parameters work together. We currently have LOGRETAIN=RECOVERY and LOGARCHMETH1=USEREXIT. It appears that the logarchmeth1 can be set to DISK:<path>. Does...
2
by: Snonck | last post by:
Is is possible to recover deleted rows from a table from archive logs? For example, say you have a database with archive logging turned off. You create a table and populate it with records. You...
3
by: Kofa | last post by:
Hi, we have an application which uses online backups, so archive logging is a requirement. We have a small/moderate size database (a few hundred megabytes isn't much by today's standards) with...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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...

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.