Lock & Unlock Whole SAP System

You can lock and unlock whole SAP system using command prompt. This example is tested in UNIX and Linux environment. Please use adm user when executing the command.

To lock the whole SAP system

> tp locksys  pf=/usr/sap/trans/bin/TP_DOMAIN_.PFL

initial value of NLS_LANG: 'AMERICAN_AMERICA.UTF8'
This is tp version 372.05.14 (release 700, unicode enabled)
Warning: Parameter DBLIBPATH is no longer used.
tp finished with return code: 0
meaning:
  Everything OK

You will received an alert like below you are trying to login to the system.

To unlock the whole SAP system

> tp UNLOCKSYS  pf=/usr/sap/trans/bin/TP_DOMAIN_.PFL

initial value of NLS_LANG: 'AMERICAN_AMERICA.UTF8'
This is tp version 372.05.14 (release 700, unicode enabled)
Warning: Parameter DBLIBPATH is no longer used.
tp finished with return code: 0
meaning:
  Everything OK

You May Also Like

Leave a Reply?