Directrices para agregar un asiento remoto

Debe observar las siguientes directrices para agregar un asiento remoto:

Para agregar un asiento remoto

A continuación, se muestra un ejemplo mediante la configuración del archivo físico QGPL/TESTPF para activar el registro por diario remoto en un segundo sistema.

  1. Cree el archivo físico.:
> CRTPF FILE(QGPL/TESTPF) RCDLEN(10)
  File TESTPF created in library QGPL.
  Member TESTPF added to file TESTPF in QGPL.
  1. Cree la nota de recepción de asiento local y los asientos, y active el registro por diario del archivo físico creado:
> crtjrnrcv jrnrcv(qgpl/jrcvrmt)
  Journal receiver JRCVRMT created in library QGPL
> crtjrn jrn(qgpl/jrnrmt) jrnrcv(qgpl/jrcvrmt) fixlendta(*job *usr *pgm *sysseq)
  Journal JRNRMT created in library QGPL
strjrnpf file(qgpl/testpf) jrn(qgpl/testpf)
  1 of 1 files have started journaling
  1. Agregue el asiento remoto:
> addrmtjrn rdb(sys2) srcjrn(qgpl/JRNRMT) rmtjrntype(*TYPE2)

  Remote journal JRNRMT in QGPL was added
  1. Active el diario remoto:
> chgrmtjrn rbd(sys2) srcjrn(qgpl/jrnrmt) jrnstate(*active)

  Remote journal JRNRMT in library QGPL was activated