1833359 Members
3132 Online
110051 Solutions
New Discussion

SAP processes

 
Clara Rowe
Frequent Advisor

SAP processes

I am a Unix Administrator in charge of running the backups for our SAP servers. Currently we issue a the following statements:

#statement to stop sap r3 application:
su - pr1adm -c stopsap r3

#statement to stop the database:
su - orapr1 -c /home/oracle/dbshut.oracle

#The save runs here

#statement to start the database:
su - orapr1 -c /home/oracle/dbstart.oracle

#statement to start sap r3 application:
su - pr1adm -c startsap r3


I need to run something at this point for PFGC_TIME_DEPENDENCY. I need help on this as I know nothing about SAP.

#statement to run the PFGC_TIME_DEPENDENCY script:
su - pr1adm -c script name????

It is my understanding from our SAP security folks that the PFCG_TIME_DEPENDENCY job is scheduled. However, whenever the database is bounced or the server rebooted, the job needs to run to synchronize. Since we do not know for certain when the save will complete or when the server may be rebooted, we want to include the job as part of the process. In effect, we need to run it outside of it';s schedule any time the server or database is brought down and back up. Last week, users were not able to log into the database because the job was scheduled for 4:00 AM. The database was back up at 1:00 AM. So there was a period of time when they should have been able to use the system and could not. I am just the Unix administrator. The SAP folks told us that this was why they could not log on. I'm just looking for a solution. Please help if you can.

I appreciate any help on this matter.

Clara


Take time to smell the roses.
3 REPLIES 3
Doug O'Leary
Honored Contributor

Re: SAP processes

Hey;

I would think the SAP admins would be able to tell you how to call that particular process. The naming convention makes it look like an autosys job. If that's the case, you should be able to run

autorep -J PFGC_TIME_DEPENDENCY -q | grep command

to get the script that's being called from it.

Failing that, make the SAP admins tell you what the script name is, where it's located and in which order it's supposed to be run.

HTH;

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Clara Rowe
Frequent Advisor

Re: SAP processes

Thanx for your help. This is what SAP had to say:

This job cannot be started outside SAP in some form of UNIX script.
I suggest that you get back onto your SAP Administrators, they
can schedule the job to run at system start up.
In SM37 you can schedule jobs to run at specific times or after
specific system events, one of these events is SAP_SYSTEM_START.


So it looks like the ball is back in the SAP admins corner!

Clara
Take time to smell the roses.
Clara Rowe
Frequent Advisor

Re: SAP processes

Thanx again!

This is the best forum, no matter what I'm looking for, I always get help.

Clara
Take time to smell the roses.