cancel
Showing results for 
Search instead for 
Did you mean: 

Error PREP_INPUT/EXTRACTKRN_PRE

Former Member
0 Kudos

Hi experts,

I´m doing an upgrade in AS/400, from ecc 5.0 no unicode to ecc 6.0 EHP4 no unicode; at this moment, i have an error in the phase PREP_INPUT/EXTRACTKRN_PRE, the error is:

"Error message CPF0006 running 'LODSAPKRN DEV(STMF) MNTPNT(UPG '/usr/sap/P01/upg/abap/exe') KNRLIB(SAPP0170UP) APYR3KRN(NO) USERDEF(NO) ONESTEP(*NO) STATFILE('/usr/sap/P01/abap/log/SAPP0170UP.LOG')"

When i see the log, appear an error:

CPY OBJ (u2018/usr/sapu2026) TOOBJT(u2018/*SYSBAS/QSYS.LIB/u2026u2019) u2026

the problem is /*SYSBAS...

Anybody know this problem?

Thanks in advance,

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Victor,

this is unfortunately a known issue. SAP has a temp fix for LODSAPKRN on SAPMATS.

Please open an oss ticket and you will receive the temp-link or a final patch shortly ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker,

Lot of thanks, i have the fix, because one partner send me the file.

I upload by ftp in binary mode to the library QSYS/LODSAPKRN, and i try to apply by the command:

RSTOBJ OBJ(LODSAPKRN) SAVLIB(SAPP0170UP) DEV(SAVF) SAVF(QGPL/LODSAPKRN) MBROPT(ALL) ALWOBJDIF(*ALL) RSTLIB(SAPP0170UP)

But appear this error:

It wasn´t restored the save file objects from QGPL LODSAPKRN.

It doesn´t found the specified file to the library SAPP0170UP

Why?

Thanks in advance,

Regards,

Former Member
0 Kudos

Hallo Victor,

It sounds to me like you may haveuploaded to a normal physical file but the contents of the file are in the format of a *SAVF. So you should proceed as follows:

1. CRTSAVF QGPL/LODSAPKRN

2. FTP in binary mode to upload loadsapkrn.savf to QGPL/LODSAPKRN

3. RSTOBJ OBJ(LODSAPKRN) SAVLIB(JK701CAD) DEV(SAVF) SAVF(QGPL/LODSAPKRN) MBROPT(ALL) ALWOBJDIF(*ALL) RSTLIB(SAPP0170UP)

The SAVLIB name is the one specified in the *SAVF and not the same as the RSTLIB parameter in this case.

All the best,

Sally Power

For SAP on IBM i Development Support

Former Member
0 Kudos

Hi Sally,

I can restore the LODSAPKRN with this command:

RSTOBJ OBJ(LODSAPKRN) SAVLIB(JK701CAD) DEV(SAVF) SAVF(QGPL/LODSAPKRN) MBROPT(ALL) ALWOBJDIF(*ALL) RSTLIB(SAPP0170UP)

Why you know that SAVLIB is JK701CAD?

However i continue with the same problem in the upgrade, appear the same error.

Thanks in advance,

Regards,

Edited by: Victor Capi on Apr 14, 2010 4:21 PM

Former Member
0 Kudos

Hallo Victor,

The name of the savedl ibrary can be seen if you display the *SAVF using the command DSPSAVF QGPL/LODSAPKRN. You'll see something like "Library saved . . . . . . . : JK701CAD " in that display.

I assumed that you were restoring it to your upgrade library. Is SAPP0170UP the library from which you are running the upgrade tools? If it is and you are still geting the exact same error, then I recommend that you open a message with SAP, as Volker already recommended.

Regards,

Sally Power

For SAP on IBM i Development Support

Former Member
0 Kudos

Hi Sally,

Lot of thanks, i have a message with SAP, and they told me the same, but... i haven´t the command DSPSAVF, which library have i add?

Thanks in advance,

Regards,

Former Member
0 Kudos

Hi Victor,

There's nothing special about the DSPSAVF command.It's a standard operating system command. If you were able to execute CRTSAVF, then I can't understand why you wouldn't be authorised to use DSPSAVF. The *CMD object is normally in the QSYS library, which should be in your system library list as a matter of course. Check it out with your in-hoiuse system specialists.

Regards,

Sally Power

For SAP on IBM i Development Support

Former Member
0 Kudos

Thanks Sally,

I run the command RSTOBJ OBJ(LODSAPKRN) SAVLIB(JK701CAD) DEV(*SAVF) SAVF(QGPL/LODSAPKRN)

MBROPT(ALL) ALWOBJDIF(ALL) RSTLIB(SAPUP) and after, I run SAPP0170UP/FIXR3OWNS SAPUP and SAPP0170UP/FIXR3OWNS SAPP0170UP with QSECOFR; but appear the same error in the same phase: the error is:

Last error code set: Error message CPF0006 running 'LODSAPKRN DEV (STMF) MNTPNT(UPG '/usr/sap/P01/upg/abap/exe') KRNLIB(SAPP0170UP) APYR3KRN(NO) USERDEF(NO) ONESTEP(*NO) STATFILE('/usr/sap/P01/upg/abap/log/SAPP0170UP.LOG')'

I try to execute the command with P01OFR:

LODSAPKRN DEV (STMF) MNTPNT(UPG '/usr/sap/P01/upg/abap/exe') KRNLIB(SAPP0170UP) APYR3KRN(NO) USERDEF(NO) ONESTEP(*NO) STATFILE('/usr/sap/P01/upg/abap/log/SAPP0170UP.LOG')

and finish with different errors:

Finalizekit: Command "CALL PGM (SAPP0170UP/FIXR3OWNS) PARM(SAPP0170UP *ALL)" failed (CPF3142 "CALL PGM (SAPP0170UP/FIXR3OWNS) PARM(SAPP0170UP *ALL)" caused an exception: CFP3142)

LodSapKit: Failed to finish library SAPP0170UP after updates: run 'FIXR3OWNS SAPP0170UP' as QSECOFR.

If i run the command:

CALL PGM (SAPP0170UP/FIXR3OWNS) PARM(SAPP0170UP *ALL)

appear the error: not found FIXR3OBJS file library *LIBL

What could be the reason?

Thanks in advance,

Regards,

Edited by: Victor Capi on Apr 15, 2010 10:58 AM

Answers (0)