cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract multiple SAR files

Former Member
0 Kudos

I wander how to extract multiple SAR file which I put in directory /usr/sap/trans/EPS/in.

When I import EHP4 there are realy many sar files to be expanded with sapcar

Accepted Solutions (1)

Accepted Solutions (1)

nelis
Active Contributor
0 Kudos

Jan, you asked a very similar question before and I told you to refer to Pg17 Section 3.3.9 of the "How to install EHP4" guide.

Which part of ..."You do not need to extract files. SAPehpi prompts you for the download directory of archives and extracts them in the EPS-Inbox" ...did you not understand ??

Nelis

Former Member
0 Kudos

Nelis is right, but i there might be occasions where one needs to extract multiple SAR files (for example SAPEXE.SAR + SAPEXEDB.SAR + BRTOOLS.SAR).

Just in case somebody needs it too, this will do:

sidadm> SAPCAR -xvf '*.SAR'

Don't forget the single quotes.

Cheers Michael

Former Member
0 Kudos

the single quotes are not required

the best syntax is :

sidadm> SAPCAR -xvf  *.SAR

Never forget to put the Sapcar.exe in the System32 folder (windows)

regard

Verdoyant

Former Member
0 Kudos

The single quotes are required on UNIX.

xxx:SIDadm 1> SAPCAR -xvf KGPPD*.SAR

SAPCAR: processing archive KGPPD20.SAR (version 2.01)

SAPCAR: not all files could be extracted

SAPCAR: 0 file(s) extracted

xxx:SIDadm 2> SAPCAR -xvf 'KGPPD*.SAR'

SAPCAR: processing archive KGPPD20.SAR (version 2.01)

SAPCAR: 8 file(s) extracted

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jan,

Using the latest EhPi will handle the SAR file extraction. No need to extract them manually into the EPS inbox.

FYI: In general with latest SAPCAR, you can extract multiple SAR files using the command

SAPCAR -xvf *.SAR

Regards,

Varadharajan M

0 Kudos

Hello,

If you need to extract multiple SAR files you can execute the command

SAPCAR -xvf ' *.SAR'

Vamsi

JPReyes
Active Contributor
0 Kudos

Repeating the same information again and again is considered point-hunting.

If you have no new info to add to the thread refrain from posting.

Read the "Rules of Engagement"

Regards

Juan

markus_doehr2
Active Contributor
0 Kudos

> I wander how to extract multiple SAR file which I put in directory /usr/sap/trans/EPS/in.

> When I import EHP4 there are realy many sar files to be expanded with sapcar

When installing EHP4 there's usually no need to unpack them manually, SAPehpi will do that for you. Just point to the download directory where you placed all the files.

Markus