To start and stop an SAP system or instance on IBM i, proceed as follows:
Starting
Log on to the host of your central system as < SID > ADM.
To start an SAP system or instance, enter the command STARTSAP INSTANCE(*ALL).
The instances and all other processes for your system are started on this host.
Stopping
Log on to the host of your central system as < SID > ADM.
To stop an SAP system or instance, enter the command STOPSAP INSTANCE(*ALL).
To start or stop SAP instances, you can also log on as QSECOFR or another user with sufficient authority to operate on the SAP system. To set up the library list and environment variables, enter CALL PGM(R3< SID >400/R3INLPGM ) before using the commands STARTSAP or STOPSAP.