exportar cdc.pdf

Upload: rigamez

Post on 03-Jun-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 exportar CDC.pdf

    1/2

    How to: Export CDC from *SYSBAS to an iASP

    End replication on all active subscriptions using the CDC datastore you wish to migrate. Disconnect from Management console End CDC subsystem Create a save file (savf) of your current CDC install library and save it in a separateLibrary Delete the CDC install library you just saved elsewhere SETASPGRP Create a library on the iASP with the same nameas the previous install of CDC

    o CRTLIB LIB() ASPDEV() Restore the savf to the library on the iASP

    o RSTOBJ OBJ(*ALL) SAVLIB() DEV(*SAVF) SAVF( / )RSTLIB(()) RSTASPDEV()

    Download the CDC installation binaries Issue the following command to restore from the save file:

    o RSTOBJ OBJ(DMCINSTALL) SAVLIB(V6R1M0) DEV(*SAVF)SAVF(/V6R1M0)RSTLIB(QTEMP)

    where is the save file library.o After you have restored the installation program, issue the following command to run

    the installation program:

    ?QTEMP/DMCINSTALLo Press F4 to access the installation prompt screen.o Specify CD ROM Device Name or Save File Informationo The Device/Save File Name screen appears.

    Device Name The save file (*SAVF) that you are using to run the installation program.

    Savefile Name

    for Product

    Library Name

    V6R1M0

    Library Name The name of the library where the save file is located. You must transfer the save file

    to this library.

    Savefile Name

    for Tutorial

    Name

    V6R1M0TUT

    Library Name The library name where the save file for the tutorial tables is located. You must

    transfer the save file to this library. You can also enter *LIBL to specify the set of

    libraries in your list. The installation program searches libraries in order of the first

    occurrence of the specified library.

  • 8/12/2019 exportar CDC.pdf

    2/2

    o Continue through each screen until you reach the installation library screen. DTS/400 Product Library : DTS/400 Tutorial Library : DTUTOR DTS/400 IASP Device :

    o Choose Installation type W The installer will now create a directory on your *SYSBAS with the same name as your iASP with

    a 01appended to the end of it. This library should contain

    Object Type

    D_MIRROR *JOBQ

    D_MIRROR *CLS

    DMIRROR *SBSD

    WRKOBJPDM (Library on iASP)o Position to type : *JOBD, press Enter.o Select Opt 2 on COMMJOBD, DMCJOBD and DMTCPJOBD and hit enter

    For each of these JOBDs : F9 to show All Parameters Alter the Job queue libraryand Initial library listso that they contain

    the library name from *SYSBAS and notthe iASP library name. (this

    should be as simple as adding 01 to the name already entered unless

    you changed the library name after the installation).

    CHGCURLIB ()o TSSETREGo TS Product Library: o

    TS Subsystem Name: DMIRROR

    CHGCURLIB ()o STRSBS(dmirror)

    CHGCURLIB ()o STRDMTCP SERVICE () JOBD(/DMCJOBD)

    WRKACTJOB SBS(DMIRROR)o Verify subsystem DMIRROR and TCPLISTEN are active

    Done. At this point you should be able to connect to the subsystem in MC and the CDC installation has

    been properly migrated to the iASP.