on 09-24-2008 11:09 AM
Hello Everyone,
I am trying to update R3trans in target kernel rel 700 while upgrade using the below command as per SAP Note : 49365
Command:
APYR3FIX SID(I40)
SAVF(QGPL/R3TRANS)
SAVLIB(GEN700AOPT)
KRNLIB(R3700OPT)
EXEPATH('/USR/SAP/PUT/EXE')
GETSAVF(*YES)
FROMHOST(*LOCAL)
FROMDIR('/tmp/i40')
FROMFILE(*SAR)
I am getting the below error message after executing above command...
ERROR:
Library PCHI40 deleted.
Ownership of object PCHI40 in QSYS type *LIB changed.
Library PCHI40 created.
Retrieving patch save file...
Save file R3TRANS in library QGPL cleared.
Object APYR3FIX in QTEMP type *FILE deleted.
File APYR3FIX created in library QTEMP.
Member CMD added to file APYR3FIX in QTEMP.
Member LOG added to file APYR3FIX in QTEMP.
Link added.
Link added.
Link added.
Error: /usr/sap/I40/SYS/exe/run/SAPCAR -xvf /tmp/i40/R3TRANS.SAR -R
/QSYS.LIB/QGPL.LIB -flat R3TRANS.FILE failed.
Failed to apply R/3 fix.
can anyone please help me in fixing this...
Thanks & Regards,
Shafi
Hello,
you could also try to extract the SAR file manually (in qsh for example) and then use APYR3FIX with SAVF R3trans, Library R3FIX700U and GETSAVF(*no).
Make sure you cleared R3FIX700U if there is already an object R3trans before you use SAPCAR.
Regards,
Ingrid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ingrid!
I have unpacked R3trans.SAR & dw.SAR, it extraced files in library R3FIX700A.
SAPCAR: processing archive /tmp/i40/kernel700/R3trans.SAR (version 2.01)
x /QSYS.LIB/R3FIX700A.LIB/R3TRANS.FILE
SAPCAR: 1 file(s) extracted
SAPCAR: processing archive /tmp/i40/kernel700/dw.SAR (version 2.01)
x /QSYS.LIB/R3FIX700A.LIB/DW.FILE
SAPCAR: 1 file(s) extracted
Then i tried APYR3FIX using below parameters but it it giving me error
APYR3FIX SID(I40) SAVF(R3FIX700A/R3TRANS) SAVLIB(QSYS) KRNLIB(R3700OPT) EXEPATH('/usr/sap/put/exe') GETSAVF(*NO)
Library PCHI40 deleted.
Ownership of object PCHI40 in QSYS type *LIB changed.
Library PCHI40 created.
Unpacking patch save file...
Objects from save file R3TRANS in R3FIX700A not restored.
Specified file for library QSYS not found.
APYR3FIX: cannot unpack patch save file R3FIX700A/R3TRANS - see joblog
Errors occurred in command.
Is this command proper or am i doing some mistake here?
APYR3FIX SID(I40)
SAVF(R3FIX700A/R3TRANS)
SAVLIB(QSYS)
KRNLIB(R3700OPT)
EXEPATH('/usr/sap/put/exe')
GETSAVF(*NO)
Thanks & Regards,
Shafi
Hi,
There was a mistake for parameter SAVLIB instead fo GEN700AOPT i was giving QSYS... now i replaced it with GEN700AOPT it started importing patch but it gave me below new error
APYR3FIX SID(I40) SAVF(R3FIX700A/R3TRANS) SAVLIB(GEN700AOPT) KRNLIB(R3700O
PT) EXEPATH('/usr/sap/put/exe') GETSAVF(*NO)
Library PCHI40 deleted.
Ownership of object PCHI40 in QSYS type *LIB changed.
Library PCHI40 created.
Unpacking patch save file...
Ownership of object R3TRANSPCH in PCHI40 type *FILE changed.
2 objects restored from GEN700AOPT to PCHI40.
Library PCHI40 added to library list.
Applying Patch from R3FIX700A/R3TRANS *SAVF...
5700 - CHKOBJ OBJ(I40OWNER) OBJTYPE(USRPRF) AUT(USE)
Not authorized to object I40OWNER in QSYS.
6000 - SNDPGMMSG MSGID(CPF9897) MSGF(QCPFMSG) MSGDTA('Applying patch
R3TRANS (level 00172)') TOPGMQ(EXT) MSGTYPE(STATUS)
6600 - CRTLIB LIB(PCHI40HYB)
Ownership of object PCHI40HYB in QSYS type *LIB changed.
Library PCHI40HYB created.
7100 - RSTOBJ OBJ(ALL) SAVLIB(PCH700AOPT) DEV(SAVF)
SAVF(PCHI40/R3TRANSPCH) RSTLIB(PCHI40HYB)
Constraint was added.
1 constraint(s) added to file O4AFFILE.
Constraint was added.
1 constraint(s) added to file O4AFFILE.
File O4AFFILE in library PCHI40HYB restored.
1 objects restored from PCH700AOPT to PCHI40HYB.
7200 - UPDHYBLIB SRCHYBLIB(PCHI40HYB) SRCARCHIVE(O4AFFILE)
DSTHYBLIB(R3700OPT) DSTARCHIVE(O4AFFILE) CHKCONS(YES) CHKLCK(NO)
Checking patch library R3700OPT for consistency
Number of invalid records found: 0
Number of ILE objects missing: 0
Number of IFS blobs missing in archive file: 0
Number of IFSNAME duplicates found: 0
---> hybrid library PCHI40HYB is consistent - OK
Checking target library R3700OPT for consistency
(i 10254) record invalid (PARTID:¢dir=1]ifsname=jkit]!) (type is lib, but
qsysname/qsystype missing)
found invalid record (PARTID=¢dir=1]ifsname=jkit]!)
(i 10254) record invalid (PARTID:¢dir=1]ifsname=cfw]!) (type is lib, but
qsysname/qsystype missing)
found invalid record (PARTID=¢dir=1]ifsname=cfw]!)
Number of invalid records found: 2
Number of ILE objects missing: 0
Number of IFS blobs missing in archive file: 0
Number of IFSNAME duplicates found: 0
---> hybrid library R3700OPT is inconsistent - ERROR
Target library R3700OPT is inconsistent.
8800 - RCVMSG MSGTYPE(EXCP) RMV(NO) KEYVAR(&ERRKEYVAR1)
9000 - RCVMSG MSGTYPE(PRV) MSGKEY(X'000005E2') RMV(NO)
KEYVAR(&ERRKEYVAR2) MSG(&ERRMSG) MSGDTA(&ERRMSGDTA) MSGID(&ERRMSGID)
RTNTYPE(&ERRRTNTYPE) MSGF(&ERRMSGF) SNDMSGFLIB(&ERRMSGFLIB)
9600 - RCVMSG MSGKEY(X'000005E2') MSGDTA(&ERRMSGDTA) MSGID(&ERRMSGID)
MSGF(&ERRMSGF) SNDMSGFLIB(&ERRMSGFLIB)
9700 - SNDPGMMSG MSGID(CPF0006) MSGF(QSYS/QCPFMSG) MSGDTA(' ')
MSGTYPE(*ESCAPE)
Errors occurred in command.
Library PCHI40 removed from library list.
APYR3FIX: Patch installation failed (see joblog)
Errors occurred in command.
Can you please suggest on this?
Thanks & Regards,
Shafi
Hi Kaushal,
You are correct... i could see this message in log.
Not authorized to object I40OWNER in QSYS
also there is one more error during consistency check
Checking target library R3700OPT for consistency
(i 10254) record invalid (PARTID:¢dir=1]ifsname=jkit]!) (type is lib, but qsysname/qsystype missing)
found invalid record (PARTID=¢dir=1]ifsname=jkit]!)
(i 10254) record invalid (PARTID:¢dir=1]ifsname=cfw]!) (type is lib, but
qsysname/qsystype missing)
found invalid record (PARTID=¢dir=1]ifsname=cfw]!)
Number of invalid records found: 2
any clue how do i fix this or can i apply patch with user QSECOFR?
Thanks & Regards,
Shafi
Edited by: syed shafiuddin on Sep 25, 2008 11:56 AM
Hi,
you can apply the kernel using SIDOFR user only.
Target library R3700OPT is inconsistent.
your kernel library is inconsistent.
did you apply the correct kernel fix?
I suggested you to download the correct kernel for your SAP system.
then create the new kernel library and apply the latest kernel on that library.
if you are using non Unicode kernel then download the non Unicode kernel and kernel fix.
also check following to apply kernel
regards,
kaushal
Hi Kaushal,
I have downloaded R3trans & DW from non unicode kernel for OS/400 - DB2/400 only....
Kernel R3700OPT was created with the Upgrade DVDs...
Not sure why still it is giving error...
would you suggest downloading complete kernel (SAPEXE.SAR & SAPDBEXE.SAR) and patch R3700OPT.
Regards,
Shafi
Hi,
I am getting command not found error by login with my id SISHAFIUSY which has user class *SECOFR assigned...
Command FIXR3OWNS in library *LIBL not found.
Is it ok if i use my id or it has to be done with QSECOFR user only?
Thanks & Regards,
Shafi
Edited by: syed shafiuddin on Sep 25, 2008 4:15 PM
Thanks Kaushal!
FIXR3OWNS completed successfully after adding library R3700OPT
Processing of library R3700OPT completed.
then I executed APYR3FIX command with user SIDOFR, still it is giving me the same error...
Checking target library R3700OPT for consistency
(i 10254) record invalid (PARTID:¢dir=1]ifsname=jkit]!) (type is lib, but
qsysname/qsystype missing)
found invalid record (PARTID=¢dir=1]ifsname=jkit]!)
(i 10254) record invalid (PARTID:¢dir=1]ifsname=cfw]!) (type is lib, but
qsysname/qsystype missing)
found invalid record (PARTID=¢dir=1]ifsname=cfw]!)
Number of invalid records found: 2
Number of ILE objects missing: 0
Number of IFS blobs missing in archive file: 0
Number of IFSNAME duplicates found: 0
---> hybrid library R3700OPT is inconsistent - ERROR
Target library R3700OPT is inconsistent.
Regards,
Shafi
Once again Thanks to everyone!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hy Syed,
Is this your first 7.0 system on this machine?
You can only apy 7.0 kernel fixes when you are using a 7.0 kernel to do this.
The easiest way to do so is:
Create a 7.0 kernel according to oss 912575 i.e. NEW700OPT
Create a dummy SAP instance, and aply the 7.0 kernel to that dummy sid
as QSECOFR:
ADDLIBLE NEW700OPT
CRTR3SYS AAP
CRTR3INST SID(AAP) INST(96) ROLE(*CENTRAL)
FIXR3OWNS NEW700OPT
APYSAP TYPE(*KERNEL) SID(AAP) DSTLIB(NEW700OPT)
Now log on as AAPOFR on the new dummy sid
And there you have all the needed environment variables and pase components to succesfully apy fixes to any (other) 7.0 (upgrade) kernel.
Good luck,
Paul Hoogendoorn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Paul,
Yes, it is first upgrade on the system.
This is resolved now below are the steps followed for resolution.
Logon with user <SID>OFR
1 Replace <640 kernel> library with <700 Kernel> using command EDTLIBL to use 700 kernel for applying 700 kernel patches
2. Applied 700 kernel patch using command APYR3FIX
APYR3FIX SID(<SID>) SAVF(R3FIX700A/R3TRANS) SAVLIB(GEN700AOPT) KRNLIB (<KERNEL_LIB>) EXEPATH('<DIR_PUT>/exe') GETSAVF(*NO)
3. Apply fix to kernel using command APYSAP
APYSAP TYPE(KERNEL) SID(<SID>) DSTLIB(<UPG_KERNEL_LIB>) DSTDIR (<DIR_PUT>/exe) MODE(INCR)
I really appreciate every one for their quick responses and thank you all very much.
Starting Upgrade now... hope this goes quite smoothly.
Regards,
Shafi
Hello Shafi,
this error message points to patching your patch tool: please donwload the latest patch for APYR3FIX and apply it to your kernel. With this new version you may try patching DW and R3trans again.
Good Luck,
B. Wolf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Download the full kernel ( non unicode in your case) from service.sap.com
following is needed for the latest kernel.
sapexe.sar
sapexedb.sar
libdbsl.sar
r3trans.sar
tp.sar
create the new kernel lib. and apply the new kerenl to this library according to following link.( it's for unicode kernel so you make the changes for non unicode kernel i.e SAVLIB
regards,
kaushal
Hi,
I have one question regarding APYR3FIX command.
Currently by default system must be using APYR3FIX from existing 640 kernel to apply patch for new target 700 kernel... is this compatible?
probably i feel that it an issue with APYR3FIX i guess as pointed by Bernhard Wolf but not sure about this...
Regards,
Shafi
Hi,
Following your discussion I wonder whether you are aware of the section Applying patches in note 822296. Please check carefully if you followed the instructions there. Main thing to recognize is that you must use/patch the tools (APYR3FIX) from the upgrade library when maintaining the target release kernel.
If the error does not appear I would also consider updating the tool UPDHYBLIB with the latest patch in the upgrade library.
Regards,
Thomas
Thanks Kaushal,
copied r3trans.sar to /tmp location but Still it is giving the erorr....
Library PCHI40 deleted.
Ownership of object PCHI40 in QSYS type *LIB changed.
Library PCHI40 created.
Retrieving patch save file...
Save file R3TRANS in library R3FIX700A cleared.
Object APYR3FIX in QTEMP type *FILE deleted.
File APYR3FIX created in library QTEMP.
Member CMD added to file APYR3FIX in QTEMP.
Member LOG added to file APYR3FIX in QTEMP.
Link added.
Link added.
Link added.
Error: /usr/sap/I40/SYS/exe/run/SAPCAR -xvf /tmp/R3TRANS.SAR -R
/QSYS.LIB/R3FIX700A.LIB -flat R3TRANS.FILE failed.
Failed to apply R/3 fix.
Regards,
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try to execute following
APYR3FIX SID(I40) SAVF(R3FIX700A/R3TRANS) SAVLIB(GEN700AOPT) KRNLIB(R3700OPT)
make sure that you put r3trans.sar in tmp folder
regards,
kaushal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.