473,394 Members | 1,694 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,394 software developers and data experts.

Restoring Journals on an iSeries Box

I restored my DB2 journals from a primary AS/400 to a backup AS/400 and want
to replay the journals for recovery purposes, I discovered that the chain
link was broken jumping from one receiver to the other, is there a quick and
easy way not to break the link? Also, does it have to do something with the
ASP that it is in? It is in ASP1 by default and was not restored in ASP1 on
the secondary box.

Any help will be appreciated.

Thanks,

QSECOFR
Nov 12 '05 #1
4 4099
RdR
Hi QSECOFR,

Based on the information you gave, I believe you really do not have "broken
chains" even if you see journal receivers not in sequence. First of all,
when you restore journals from one machine to another, the journal receiver
names and its sequence numbers may be different from the original names in
the original machine. And it is also common that when a receiver name or
sequence number reaches its max (meaning no other number higher but to go
back to zero), then this is where the :broken chains" seem to appear. Just
to be on the safe side, do a wrkjrnrcv command or a wrkjrna command, and
look at each journal receiver, each receiver should have a beggining and
ending sequence number. I am quite sure that one of the receivers that
appears to have a "broken chain" or the one that you think has a broken
chain will point to an ending sequence number which may not follow the
original sequence or to another journal receiver with a number that appears
to break the chain. And to further confirm this, look in your QAUDJRN any
references to a CHGJRN command with a RESET on it and most probably point to
the receiver that seems to have broken the chain.

Seems like you are using a tool to replay the journals, if ever there is
really a broken link, see if this tool has a "Set Journal Position" utility
so that you can continue from where you left off if ever there is small
chance that you have Journal Corruption (WRKJRNA will show this too).

Hope this helps,

RdR
"QSECOFR" <jo*********@midrange.com> wrote in message
news:8K******************@nnrp1.uunet.ca...
I restored my DB2 journals from a primary AS/400 to a backup AS/400 and want to replay the journals for recovery purposes, I discovered that the chain
link was broken jumping from one receiver to the other, is there a quick and easy way not to break the link? Also, does it have to do something with the ASP that it is in? It is in ASP1 by default and was not restored in ASP1 on the secondary box.

Any help will be appreciated.

Thanks,

QSECOFR

Nov 12 '05 #2
RdR
Hi QSECOFR,

About the ASP (Auxiliary Storage Pool), that does not matter if you are
OS/400 Version 4.x and above, I do not think restoring to a different ASP
will matter because the journal attributes should point to the correct ASP.
I do not think that has anything to do with the broken journal receiver
chains.

RdR
"QSECOFR" <jo*********@midrange.com> wrote in message
news:8K******************@nnrp1.uunet.ca...
I restored my DB2 journals from a primary AS/400 to a backup AS/400 and want to replay the journals for recovery purposes, I discovered that the chain
link was broken jumping from one receiver to the other, is there a quick and easy way not to break the link? Also, does it have to do something with the ASP that it is in? It is in ASP1 by default and was not restored in ASP1 on the secondary box.

Any help will be appreciated.

Thanks,

QSECOFR

Nov 12 '05 #3
Hi RdR,

Thanks for all the help, you were right, that just saved me hours and hours
of trying to fix a problem which is really not a problem. I appreciate it
very much. Thanks so much.

John
"RdR" <ro*@delrosario.ca> wrote in message
news:oN********************@rogers.com...
Hi QSECOFR,

About the ASP (Auxiliary Storage Pool), that does not matter if you are
OS/400 Version 4.x and above, I do not think restoring to a different ASP
will matter because the journal attributes should point to the correct
ASP.
I do not think that has anything to do with the broken journal receiver
chains.

RdR
"QSECOFR" <jo*********@midrange.com> wrote in message
news:8K******************@nnrp1.uunet.ca...
I restored my DB2 journals from a primary AS/400 to a backup AS/400 and

want
to replay the journals for recovery purposes, I discovered that the chain
link was broken jumping from one receiver to the other, is there a quick

and
easy way not to break the link? Also, does it have to do something with

the
ASP that it is in? It is in ASP1 by default and was not restored in ASP1

on
the secondary box.

Any help will be appreciated.

Thanks,

QSECOFR


Nov 12 '05 #4
Hi RdR,

Thanks for all the help, you were right, that just saved me hours and hours
of trying to fix a problem which is really not a problem. I appreciate it
very much. Thanks so much.

John

"RdR" <ro*@delrosario.ca> wrote in message
news:oo********************@rogers.com...
Hi QSECOFR,

Based on the information you gave, I believe you really do not have
"broken
chains" even if you see journal receivers not in sequence. First of all,
when you restore journals from one machine to another, the journal
receiver
names and its sequence numbers may be different from the original names in
the original machine. And it is also common that when a receiver name or
sequence number reaches its max (meaning no other number higher but to go
back to zero), then this is where the :broken chains" seem to appear. Just
to be on the safe side, do a wrkjrnrcv command or a wrkjrna command, and
look at each journal receiver, each receiver should have a beggining and
ending sequence number. I am quite sure that one of the receivers that
appears to have a "broken chain" or the one that you think has a broken
chain will point to an ending sequence number which may not follow the
original sequence or to another journal receiver with a number that
appears
to break the chain. And to further confirm this, look in your QAUDJRN any
references to a CHGJRN command with a RESET on it and most probably point
to
the receiver that seems to have broken the chain.

Seems like you are using a tool to replay the journals, if ever there is
really a broken link, see if this tool has a "Set Journal Position"
utility
so that you can continue from where you left off if ever there is small
chance that you have Journal Corruption (WRKJRNA will show this too).

Hope this helps,

RdR
"QSECOFR" <jo*********@midrange.com> wrote in message
news:8K******************@nnrp1.uunet.ca...
I restored my DB2 journals from a primary AS/400 to a backup AS/400 and

want
to replay the journals for recovery purposes, I discovered that the chain
link was broken jumping from one receiver to the other, is there a quick

and
easy way not to break the link? Also, does it have to do something with

the
ASP that it is in? It is in ASP1 by default and was not restored in ASP1

on
the secondary box.

Any help will be appreciated.

Thanks,

QSECOFR


Nov 12 '05 #5

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

Similar topics

6
by: Thad Rizzi | last post by:
My webserver is an iSeries and I want to run some PHP scripts on it using SQL to access data on the iSeries. Does anyone have any exapmles or resources on the most effective way to do this? I...
4
by: Dave Sisk | last post by:
Hi folks: We have a script containing DDL statements to create tables and indexes, etc. On DB2 for Unix, I'd do a "db2 -tvf script_name.sql -z logfile_name.log", but I don't think that works on...
4
by: erkki | last post by:
Hi, I have to move iSeries library to new DB2 database. Is there any easier way to do this moving operation than exporting all tables in iSeries into text files and then import them into DB2...
1
by: Yanik Reid | last post by:
When I run the following vb.net code, I'm not able to acces the my database AMFLIB. I use to be able to access AMFLIB with the old ODBC driver from IBM iSeries Access but now I want to use the...
17
by: Sulu's Beard | last post by:
Hey gang, I'm evaluating the CA ERWin product for an upcoming data warehousing project. I'm most excited about the reverse engineering aspect of this system. I've sucessfully tested it on a...
3
by: Laurence | last post by:
Hi there, Does somebody know the efficent way to connect DB2/400? Through iSeries Access ODBC/OLEDB driver or DB2 Connect? Which will more fast and efficent? In addition, does DB2 Connect use...
2
by: chmmr | last post by:
Hello, I would like to ask if there are any differences between DB2 in these versions (e.g. support of triggers, Java stored procedures and such). Also, does anyone know from which DB2 AS/400...
1
by: Chevylover54 | last post by:
We have been using ODBC connections that are in the registry of the computer. However these connections aren't in by default so when a new user uses the Access program or when a current user goes to...
6
by: Al G | last post by:
Can someone tell me what I need to get connected to our AS400? I am trying to write an app in VS2005(Data source, Gridview) that requires data from files on our AS400. I've downloaded DB2, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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
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...

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.