cancel
Showing results for 
Search instead for 
Did you mean: 

error while extacting SAR files

Former Member
0 Kudos

hi ,

we are exctrating sar files it showing error be. SAP detail is given gelow.

SAP solman with max db. kernel level is 117 & release 701

[root@solsap SP20]# ls -l *.SAR
-rwxrwxrwx 1 root sapsys 24660985 Jan 20 08:23 K-1507IINSTPL.SAR
-rwxrwxrwx 1 root sapsys 27126704 Jan 20 08:24 K-1507JINSTPL.SAR
-rwxrwxrwx 1 root sapsys  4769016 Jan 20 08:23 K-40014INCPRXRPM.SAR
-rwxrwxrwx 1 root sapsys   844807 Jan 20 08:24 K-50002INCRMUIF.SAR
-rwxrwxrwx 1 root sapsys   508062 Jan 20 08:24 K-70103INPIBASIS.SAR
-rwxrwxrwx 1 root sapsys   393073 Jan 20 08:23 K-70104INPIBASIS.SAR
-rwxrwxrwx 1 root sapsys 31189446 Jan 20 08:24 K-70402INBICONT.SAR
-rwxrwxrwx 1 root sapsys 15382492 Jan 20 08:23 K-70403INBICONT.SAR

[root@solsap SP20]# /sapmnt/SOL/exe/SAPCAR -xvf *.SAR
SAPCAR: processing archive K-1507IINSTPL.SAR (version 2.01)
SAPCAR: not all files could be extracted
SAPCAR: 0 file(s) extracted

Regards

Imran

Accepted Solutions (0)

Answers (6)

Answers (6)

neil_hudy
Discoverer
0 Kudos

Use double quotes around the file name with the wildcard. Then it should work.

e.g.  SAPCAR -xvf "CO*SAR"

Former Member
0 Kudos

Hi,

Me too faced the same error while uncaring the files.

SAPCAR: not all files could be extracted

SAPCAR: 0 file(s) extracted

Went o service market place - downloaded the latest sapcar file. SET the environmental variable for new sapcar  file. Try extracting the files. It will work.

Thanks - Harry

Former Member
0 Kudos

we have solve the problem, by just ext one by one

markus_doehr2
Active Contributor
0 Kudos

> [root@solsap SP20]# /sapmnt/SOL/exe/SAPCAR -xvf *.SAR

that doesn' t work.

Try

for i in `ls`; do SAPCAR -R /usr/sap/trans -xvf $i; done

Markus

former_member266290
Participant
0 Kudos

Hi

You will have to extract each file individually.

former_member266290
Participant

hi

Correcting my earlier reply.

You can extract more than one archive using wildcards as follows:

So use command

#SAPCAR -xvf "*.SAR"

-Vijay

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Try to extract with latest SAPCAR.

Thanks

Sunny