on 09-25-2013 6:58 AM
Hi
does anybody have an idea if the sap processes on a system i (a.k.a. as/400) watch for a system shutdown? We've had a power failure the other day an now we are taking actions. Once the power failure is recognized (CPF1816) we have the option to shutdown the system in a controlled way (PWRDWNSYS). In this case the system shutdown is sent to all jobs (RTVJOBA ENDSTS(..)). Now the interesting question is if sap jobs take notice of the job end-status or not
any ideas?
Hello, Kurt.
If you issue command PWRDWNSYS with *CNTRLD the sap jobs get notice about end.
On test system with running SAP instance i issue PWRDWNSYS *CNTRLD 360
sapstart.log
(2941) **** Caught Signal to Stop all Programs. ****
(2941) Parent Shutdown
(2941) Wait 300 sec for Process 2967 terminating...
(2941) Stop Child Process: 2966
(2941) Wait 300 sec for Process 2966 terminating...
Execute Post-Shutdown Commands
------------------------------
(-1) Local: /usr/sap/<SID>/DVEBMGS00/exe/cleanipc 00 remove
(2941) Exiting with Return-Code 0. (Ok)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Although the question has been anwered before I would like to add a comment for those who look at it later:
It is true - on our test system I issued a ENDSBS *CNTRLD *NOLIMIT. It took exactly 5 minutes to shut down the solution manager instance (my test candidate). But the jobs end ABNORMALLY (system value QABNORMSW is set to 1).
In my personal opinion in case of a power failure it is acceptable, but for normal system shutdown the method is not recommended.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.