Show TOC Start of Content Area

Procedure documentation Starting and Stopping the SAP System (IBM DB2 for i)  Locate the document in its SAP Library structure

Use

You use the following procedures to start and stop an SAP system on IBM i.

Starting the SAP System

...

       1.      Log on to the system with the SAP user profile for administrators.

This user requires the authorizations provided by group profile <SID>OPRGRP (for example, user profile <SID>OFR,<SID>ADM or <SID>OPR).

       2.      Enter command STARTSAP and choose F4 for parameters.

       3.      Enter the name of the SAP system (for example, C11) for the SAP System ID .

       4.      Enter the instance number (for example, 90) for an SAP instance. To start all instances on one or more hosts, choose *ALL.

       5.      For SAPinstance hostname, enter the name of the host on which the instance is to be started. To start all instances on all hosts, choose *ALL (you must also have selected *ALL under SAP instance).

       6.      Confirm your entry with ENTER.

The subsystem R3_nn is then started for every started instance (nn is the instance number). All associated SAP system services are started together with the subsystem (such as the dispatcher, work processes, and spool processes).

       7.      To check whether the SAP system(s) were started correctly, enter command WRKACTJOB SBS(R3_nn).

A screen appears, on which the column Status is displayed at the right of the screen. If an SAP system was correctly started, the first line of this column should contain RUN (running), SELW (waiting) or DEQW (waiting to be unlocked). It can take a few minutes for the file system to reach this status.

Stopping the SAP System

       1.      Log on to the system with the SAP user profile for administrators. This user requires the authorizations provided by group profile <SID>OPRGRP.

       2.      Enter command STOPSAP and choose F4 for parameters.

       3.      Enter the name of the SAP system that you want to stop for SAP system ID.

       4.      Enter the instance number (for example, 90) that you want to stop for SAP instance. To stop all instances on one or more hosts, choose *ALL.

       5.      To stop one or more instances on the local host, enter *LOCAL for SAP instance hostname. To stop all instances on all hosts, choose *ALL(you must also have selected *ALLfor SAP instance).

       6.      Enter *YES for Wait for instance to end.

The command STOPSAP waits until the SAP instance is shutdown before stopping the SAP system.

       7.      Specify a maximum time that the command should wait for the instance to be shut down under Maximum wait time (seconds). The default value is 120 (two minutes). If it takes longer than two minutes for the instance to be shut down, an exception message is sent.

       8.      Confirm your entries with ENTER.

 

End of Content Area