Hola:
Mira a ver si te sirve esto:
Un saludo. Loinaz.
*On V5R1 what does the chgjrn jrnstate(*inactive) do ?*
*Youngren/Stallman:* This option on the CHGJRN command allows you to flag the journal as "closed for business - - not accepting any more journal entries".
At this point it's an increasingly ancient and aging option that we'll probably be withdrawing in a future release, hence I'd be inclined to suggest that you begin to wean yourself away from using it.
There are better alternatives.
On the target machine, for example, use of the newer *STANDBY mode is often a wiser choice.
Also use of the CHGRMTJRN command rather than the CHGJRN command on the source side is often a better choice for managing the relationship between the source (so-called "local") and target (so-called "remote) journals. This is especially true for Sync-flavored Remote Journal mode.
Maybe a little background will help...
A Sync-connected remote journal on the target can be in one of three states for the purpose of this discussion:
1. *ACTIVE -- This is the normal "I'm alive and well and feeling
fine, send me journal entries" state.
2. *InActPend -- This is the "I used to be *ACTIVE but lost contact
with the source side and I'm not yet sure whether the most recent
journal entries entrusted to me also made it out to the disk on
the source side, I wonder what you'd like me to do with them?"
state. (Note: These in-doubt journal entries are called
"unconfirmed" because the source side hasn't yet confirmed to the
target that they reached the disk surface on the source.)
Depending on what action you take next, the Remote Journal on the
target will either let you read these unconfirmed entries (and
most HA vendor products would probably want to do just that) or...
will toss them away. Thus you've got to make sure your HA vendor
knows which policy he wants to adopt before leaving this state.
3. *InActive -- This is the "I've jettisoned any unconfirmed journal
entries and am ready to shake hands anew with my twin on the
source side as soon as he is alive and well, just let me know when
you're ready to proceed" state. It's the state you need to reach
on the target before the source side attempts to re-establish contact.With that as a background...
Issuing CHGJRN . . . jrnstate(*inactive) on the source against the local journal merely makes him reject subsequent journal deposit attempts. This does not alter the connection between the local and the remote journal.
Issuing CHGJRN . . . jrnstate(*inactive) on the target against the remote journal moves him from *InActPend to *Inactive and also tosses (erases from the remote journal) any unconfirmed entries thereby priming the remote journal for reconnection to the source side. This step is not necessary for async-connected remote journals, as they have no unconfirmed entries.
More details can be found in the Redbook "As/400 Remote Journal Function for High Availability and Data Replication" at http://www.redbooks.ibm.com.
Pinedo Pedro escribi�:
Diario . . . . . . . : XXXJRN Biblioteca . . . . . : XXXXXXXX Agrup. alm. auxiliar : 1 Estado de diario . . : *INACTPEND Cola de mensajes . . : QSYSOPR Tipo diario remoto . : *TYPE2 Biblioteca . . . . : QSYS Opciones de tama�o de Gestionar receptores : receptor . . . . . : Suprimir receptores : *YES Tipo de diario . . . : *REMOTE Texto . . . . . . . :
Teclee opciones, pulse Intro. 8=Visualizar atributos Sistema Sistema Receptor diario diario Opci�n Conectado Biblioteca local origen XXXJRN0466 XXXXXXXX S44444444 S44444444 como veis se ha quedado en estado de diario . . : *INACTPEND y no consigo ni activarlo ni desactivarlo ni borrarlo ni nada de nada, he probado a hacer RCLSTG y nada.
En este momento estoy haciendo IPL, pero por si alguien tiene una idea, mando el mensaje y gano tiempo.
Gracias.
Pedro Pinedo Hernandez
Analista-Programador
Grupo Amcor Flexibles Hispania S.L. Planta: Tobepal Logro�o
/Departamento de Inform�tica / IT Department/
/tfno.:+34 941 28 60 90/ - /941 03 01 39/
/fax: +34 941 20 75 43/
/26006 Logro�o/
/Spain/
[EMAIL PROTECTED]
(quitar nospam del dominio, para enviar)
_______________________________________________________
AMCOR FLEXIBLES - LEADING THROUGH INNOVATION _______________________________________________________
CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify AMCOR FLEXIBLES immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of AMCOR FLEXIBLES.
_____________________________________________________ Forum.HELP400 es un servicio m�s de NEWS/400. � Publicaciones Help400, S.L. - Todos los derechos reservados http://www.help400.es _____________________________________________________
Para darte de baja, env�a el mensaje resultante de pulsar mailto:[EMAIL PROTECTED]
