cancel
Showing results for 
Search instead for 
Did you mean: 

Copying R/3 kernel

Former Member
0 Kudos

Hello Gurus,

According to SAP note 148208 i want to copy the PRD kernel to Sand Box system, but i have a question refer the follows steps:

1. Create a save file:

CRTSAVF <MYLIB>/<SAVF>

where <MYLIB> can be any library and <SAVF> can be any name.

2. Save the kernel library of the test system in the save file:

SAVLIB LIB(<R3TSTKRN>)

DEV(*SAVF)

SAVF(<MYLIB>/<SAVF>)

where <R3TSTKRN> is the name of the kernel library of the test system and <MYLIB> and <SAVF> are as above.

3. Log on as QSECOFR.

4. Add an already existing kernel library to your library list as follows:

ADDLIBLE LIB(<KRNLIB_OLD>)

5. Use command LODR3KRN to restore the kernel library under a new name:

LODR3KRN SAVLIB(<R3TSTKRN>)

DEV(*SAVF)

SAVF(< MYLIB>/<SAVF>)

KRNLIB(<kernellib>)

However, you cannot choose the name of an already existing library.

It is important to use command LODR3KRN here, since this command not only restores, but also assigns the correct object owners.

You should perform the following steps as <SID>OFR again.

1. Now stop the production system.

2. Remove the IFS links to the old kernel library:

RMVR3KRN SID(<PRD>)

where <PRD> is the SAP system ID of the production system.

3. If the kernel library of the production system should retain its name, rename the old kernel library <R3PRDKRN> as <R3OLDKRN>, and then assign the name <R3PRDKRN> to the new kernel library <NEWNAME>.

RNMOBJ OBJ(QSYS/<R3PRDKRN>) OBJTYPE(*LIB) NEWOBJ(<R3OLDKRN>)

RNMOBJ OBJ(QSYS/<NEWNAME>) OBJTYPE(*LIB) NEWOBJ(<R3PRDKRN>)

4. Now create the IFS links to the new kernel library:

APYR3KRN SID(<PRD>)

KRNLIB(<R3PRDKRN>)

I dont know which file transfer to sand box system by FTP.

I most transfer the savf file to sand box system only or i most execute LODR3KRN first and transfer to sand box system the <kernellib> file?

Please help in this doubt.

Regards,

Ernesto Castro.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Ernesto,

You just need to ftp the SAVF to the Sandbox server. And I don't think it is needed to touch the PRD kernel...

Bascially on PRD server

CRTSAVF - SAVLIB (PRD)

FTP the SAVF to Sandbox

On Sandbox server

RMVR3KRN (SBX) - RSTLIB - APYR3KRN (SBX)

Best regards,

Victor