How to compress or extract a SAR file in SAP

No comments

What is a SAR file ?


SAR files are  delivered by SAP for releasing supportpackages of Kernel and other OS level binaries.
 

How to extract a SAR file in SAP in Unix based operating systems(AIX / HP-UX ) :

Login to the system with sidadm user

Navigate to the path where the SAR file is located and use following command

to extract a SAR file.

SAPCAR -xvf <filename.SAR>

How to compress some files to generate a SAR file in SAP in Unix based operating systems(AIX / HP-UX ) ?

Login to the  system with sidadm user

Navigate to the path where the files that are to be compressed are located and  use the following command to compress a single SAR file.

SAPCAR -cvf <filename.SAR>

To compress multiple files, we can use the following command:

SAPCAR -cvf <compressed_filename.SAR> <file1> <file2> <file n>


What is SAPCAR ?

SAPCAR is an utility provided by SAP to compress or extract files (similar to winzip)

No comments :

Post a Comment