Archive for February 22nd, 2017

Delete a SAP client at operating system level

In order to delete a client at operation system level

login to the OS with user SIDadm

– Navigate to  /usr/sap/trans/bin directory

– Create a file with the following

clientremove
client=812
select  *

Save the file with the naming convention

delete_<SID>_<clntno>.ctl

So if the systen ID is  SID = ZZZ  and CLIENT = 812   the filename will be delete_ZZZ_812.ctl

Then run the operation via R3TRANS command

R3trans -w delete_<SID>_clntno.log delete_<SID>_<clntno>.ctl

R3trans -w delete_ZZZ_812.log delete_ZZZ_812.ctl

you can also monitor the delete with the TAIL command

tail -f delete_ZZZ_812.log

22

02 2017