cancel
Showing results for 
Search instead for 
Did you mean: 

How to upgrade the Kernal in IBM iSeries

Former Member
0 Kudos

Hi Experts

I want to upgrade my kernal patch from 117 to 133. we are using ecc6 with db2 os is IBM iseries.

Thanks & Regards

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

look at following sap note

Note 912575 - iSeries: Using LODSAPKRN to load a 7.00 kernel

APPLY IGS PATCH NOTE : - 937000.

or you can apply kernel patch for ECC 6.0 on IBM iSeries using following steps.

PART -1 Applying kernel fix.

1) download and copy following kernel fix to tmp folder under rootbin.

APYR3FIX.SAR,APYSAP.SAR,LODSAPKRN.SAR

2) logon to telnet client using SIDOFR user.

3) Apply the above fix using following command

APYR3FIX SID(SID) SAVF(R3FIX700U/APYR3FIX) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

APYR3FIX SID(SID) SAVF(R3FIX700U/APYSAP) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

APYR3FIX SID(SID) SAVF(R3FIX700U/LODSAPKRN) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

Part 2 - Apply new kernel

SAPEXE.SAR and SAPEXEDB.SAR contain full kernel (except IGS). download it from service.sap.com

1) Copy sapexe.sar and sapexedb.sar into one folder i.e kern under rootbin.

2) create one file using notepad called parts ( w/o extension)

parts file having following content.

SAPEXE.SAR,

SAPEXEDB.SAR,

3) copy parts file into kern folder.

4) Create new kernel library like SAPSIDUKRN using following command.

- CRTLIB LIB(SAPSIDUKRN)

5) Apply latest kernel to newly created kernel library using following command.

- LODSAPKRN DEV(STMF) MNTPNT('/KERN') KRNLIB(SAPSIDUKRN) USERDEF(YES) LIST('/KERN/PARTS')

6) Now Apply the new kernel to SAP System using following command.

a) stop sap system.

b) stop saposcol if running.

c) end sub-system R3_<instance_number> using ENDSBS SBS(R3_Instance#)

d) delete the all statistics file under /usr/sap/sid/<DVEBMGSnn>/data/stat*

e) Remove the old kernel attached to SID usnig following command.

- RMVSAP SID(<SID>) DLTKRNLIB(*NO)

f) Change the library list usnig following command.

- EDTLIBL press enter

replace old kernel entry i.e SAPSIDUC with new one SAPSIDUKRN

h) activating the new kernel using following command.

- APYSAP TYPE(*KERNEL) SID(<SID>) DSTLIB(SAPSIDUKRN)

I) delete all SQL packages using following command.

- DLTR3PKG SID(<SID>)

7) Due to missing IGS part the SAP System is not strat. apply igs patch

- downlaod and copy igsexe.sar in to one folder called igs under rootbin.

- apply igs fix using following sap note.

sap note 937000.

regards,

kaushal

Former Member
0 Kudos

Hi Kaushal

Thanks for your detailed information.

Thanks & Regards

Venkat

Former Member
0 Kudos

Hi

I Followed your steps an OK, but when I tried

APYR3FIX SID(SID) SAVF(QGPL/O4TRC) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC) STRMF('/usr/sap/tmp')

for patch the IGS by the Note 1130720 - iSeries: O4TRC does not function correctly I didn't get.

Have be the GEN700UOPT library created previously? Could I use the QGPL library?

All the time if I use this command the result it is:

SAPCAR: processing archive /usr/sap/tmp/O4TRC.SAR

x O4TRC.FILE

SAPCAR: 1 file extracted

"APYR3FIX: cannot unpack patch save file QGPL/O4TRC - see joblog "

I don't understand what's the problem.

Thank you

thomas_vogt
Advisor
Advisor
0 Kudos

Moved thread to DB4 (iSeries) forum.

Regards,

Thomas

Former Member
0 Kudos

Hi,

Did you check the job log?

try following.

APYR3FIX SID(SID) SAVF(R3FIX700U/O4TRC) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)

regards,

kaushal

Former Member
0 Kudos

It's the same, isn't it?

The GEN700UOPT and R3FIX700U doesn't exist and probably I had to create?

Thanks

Former Member
0 Kudos

Hi,

Could you give details about the error - joblog or messages?

regards,

kaushal

Former Member
0 Kudos

Hi again

APYR3FIX SID(DES) SAVF(R3FIX700U/O4TRC) SAVLIB(GEN700UOPT) KRNLIB(SAPDESUKRN) FROMFILE('o4trc.sar')

and the error

"You are not authorized to command RSTOBJ in the library * LIBL."

I will try solved...

Thanks

Former Member
0 Kudos

Hi,


"You are not authorized to command RSTOBJ in the library * LIBL."

Change RSTOBJ *CMD with EDTOBJAUT (i.e. WRKOBJ, option 2) and give *USE to R3OWNER.

regards,

kaushal

Former Member
0 Kudos

Great!!!!

it has worked!!

I do not understand because the authorizations for that command were not assigned?

Should these authorizations have been assigned in the installation of SAP?

Thanks

Former Member
0 Kudos

Hi,

Should these authorizations have been assigned in the installation of SAP?

-> Not by default, you have to maintain manually.

regards,

kaushal

Answers (0)