473,657 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4274
In article <1e************ *************@p osting.google.c om>,
Carmine <ca************ @iqfinancial.co m> 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.f orce9.net> wrote in message news:<4c4e5928d 4Ne**@avisoft.f orce9.net>...
In article <1e************ *************@p osting.google.c om>,
Carmine <ca************ @iqfinancial.co m> 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************ *************@p osting.google.c om>,
Carmine <ca************ @iqfinancial.co m> 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.f orce9.net> wrote in message news:<4c4e5928d 4Ne**@avisoft.f orce9.net>...
In article <1e************ *************@p osting.google.c om>,
Carmine <ca************ @iqfinancial.co m> 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.goo gle.com>...
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.f orce9.net> wrote in message news:<4c4e5928d 4Ne**@avisoft.f orce9.net>...
In article <1e************ *************@p osting.google.c om>,
Carmine <ca************ @iqfinancial.co m> 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.go ogle.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.goo gle.com>...
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.f orce9.net> wrote in message news:<4c4e5928d 4Ne**@avisoft.f orce9.net>...
In article <1e************ *************@p osting.google.c om>,
Carmine <ca************ @iqfinancial.co m> 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.co m> wrote in message
news:1e******** *************** *@posting.googl e.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.go ogle.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.goo gle.com>...
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.f orce9.net> wrote in message news:<4c4e5928d 4Ne**@avisoft.f orce9.net>... > In article <1e************ *************@p osting.google.c om>,
> Carmine <ca************ @iqfinancial.co m> 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.un x.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.co m> wrote in message
news:1e******** *************** *@posting.googl e.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.go ogle.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.goo gle.com>... > 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.f orce9.net> wrote in message news:<4c4e5928d 4Ne**@avisoft.f orce9.net>... > > In article <1e************ *************@p osting.google.c om>,
> > Carmine <ca************ @iqfinancial.co m> 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
3668
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( ) logger = logging.getLogger(None) logging.Logger.client('test') I get error:
0
395
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' But when i am trying to run the sample, i am getting the following error in the Event Viwer Kindly help me on this
6
7315
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 possibility of shutting logging down at compile time and suffer no performance penalty whatsoever for getting logging on whenever I wish. Of course that I would need to recompile the project each time I want to turn logging on or off. But given a...
1
3447
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 another directory. At this moment my LOGPRIMARY is set to 3. Will the logging hang? 2. Does LOGSECOND apply to circular logging only? If if use archive
7
6543
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 I3534G369 LEVEL: Error PID : 3300 TID : 8192 PROC : db2logmgr (SAMPLE) INSTANCE: db2prd NODE : 000
0
1856
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 want to put this comment and a alternative most simple default framework for discussion. Maybe there are more Python users which like to see that imported (managed) logging issue more down-to-earth and flexible ? ... Vinay Sajip wrote: >...
1
1645
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 this mean that we can use DISK (rather than USEREXIT) and replace the <path> to our existing archive log path, set USEREXIT OFF and db2 will automatically copy files to this directory? Thanks for any help.
2
11470
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 then reset the logs and place the database in archivelog mode. Then you delete from table;
3
3748
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 relatively low insert/update activity (a few thousand per day). How should I set up archive logging (number of primary and secondary logs files, size of each log file)?
0
8407
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
8319
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
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
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...
1
8512
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,...
1
6175
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
4171
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
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.