Anda di halaman 1dari 4

Easy Homog.

Copy of ABAP I
• Log on as QSECOFR
• Install an appropriate kernel-library
• addlible <Kernel-Lib>
• FIXR3OWNS LIB(<Kernel-Lib>) OBJ(*ALL)
• CRTR3SYS SID(<SID>)
up to 6.40: CRTR3SYS SID(<SID>) KRNLIB(<Kernel-Lib>)
• CLRLIB R3TSTDATA & R3TSTJRN
• Restore Database Library
• SBMJOB CMD(RSTLIB SAVLIB(R3PRDDATA) DEV(*SAVF)
SAVF(savfname) MBROPT(*ALL) ALWOBJDIF(*ALL) RSTLIB(R3TSTDATA) )
JOB(RST_TST)
• Create the Journal & Journal Receiver again
• CRTLIB LIB(R3<SID>JRN)
• CRTJRNRCV JRNRCV(R3<SID>JRN/QSQJRN) THRESHOLD(1500000)
• CRTJRN JRN(R3<SID>DATA/QSQJRN) JRNRCV(R3<SID>JRN/QSQJRN)
RCVSIZOPT(*MAXOPT2 *RMVINTENT) MINENTDTA(*FILE)
• Regenerate System Catalog Views (note 852158)
• CALL QSYS2/QSQXRLF PARM(DLT R3<sid>DATA)
• CALL QSYS2/QSQXRLF PARM(CRT R3<sid>DATA)
• Delete the QDFTJRN Dtaara if it should exist
DLTDTAARA R3<sid>DATA/QDFTJRN

Volker Gueldenpfennig, consolut SAP on iSeries Workshop 17


Easy Homog. Copy of ABAP II
• Correct the Journaling
• SBMJOB CMD(AS4FIXFILE DBLIB(R3<sid>DATA) CHGOWN(*YES)
ENDJRN(*YES) STRJRN(*YES) NEWOWN(*SIDOWNER))
JOB(AS4FIXFILE)
• CRTR3INST SID(<SID>) INST(<INST>) ROLE(*CENTRAL)
(file /usr/sap/AS4_EXIT_CONFIG can be ignored)
• Now you should stay logged on as QSECOFR
• Correct the Default & Instance Profiles as they contain as of 7.0 „only rubbish“
• APYSAP TYPE(*KERNEL) SID(<SID>) DSTLIB(<KRNLIB>)
up to 6.40: APYR3KRN SID(<SID>) KRNLIB(<KRNLIB>)
• Relogon with <SID>OFR and check WRKENVVAR
• For ASCII-Systems: You need the following command in order to create the
needed locales:
• CRTSAPLCL SID(<SID>) CODEPAGE(1100)
(or any other needed codepage, you can have a look in table TCPDB)
• CLRPFM R3SIDDATA/<table> of the following tables:
• alconseg, alsystems, moni, pahi, osmon, dbsnp, sdbah, sdbad, sdbap,
sdbar, ddlog, tpfet, tpfht, tlock

Volker Gueldenpfennig, consolut SAP on iSeries Workshop 18


Easy Homog. Copy of ABAP III
• Change the Batch- & Spool-WPs down to 0 before starting SAP
• Unschedule the scheduled batches with BTCTRNS1
• Start the system and do some checks, if it works fine
• Check for Spools, that „want“ to be printed and hold/delete them
• Delete „unwanted“ Batch-Jobs
(perhaps release first … update r3<sid>data/tbtco set status = 'S' WHERE
STATUS = 'Z' and JOBNAME = '<my job>' )
• Reschedule the rest of the batches with BTCTRNS2
• Change the profile to allow Batch & Spool WPs again and restart SAP
• Run the following reports first:
• RSWBOINS, RDDGENMC, RSBTCUPD
• Go to SE06 and select "Database-copy"
• Recreate STMS
• Check batch jobs and activate/adjust the ones you need
• Do all the „Post-Activities“, that you are used to anyway

Volker Gueldenpfennig, consolut SAP on iSeries Workshop 19


Easy Homog. Copy of ABAP IV
• Post-Processing Examples
• SLICENSE – install new license
• SCC4 – change client type & logical system
• BDLS – Rename the logical system
• SPAD – correct the spool-server or printers
(Do you use printers with C ? Create the OUTQs …)
• SDCCN
• RZ10 – delete, Import & Correct the profiles
• RZ12 – correct the instance for RFC load balancing (e.g. for SGEN)
• SMLG – setup logon group PUBLIC
• RZ04 – Operation Mode Switch
• STRUST
• SM21 – go in for creation of the instance
• SM59 – change entries as needed
• SE61 – maintain correct logon screen
• SM61 - Backgroup control objects monitor
• SE38 – RSDELCUA – if CUA was active before …
• Transport missing Transports into Q-System
• RZ70
• Setup CUA again
•…
Volker Gueldenpfennig, consolut SAP on iSeries Workshop 20

Anda mungkin juga menyukai