Good day.
I am to write a procedure that does an unattended data load of prod data
into test.

What I do normally is
Copy export file from prod to test
Drop all sysadm tables and views
Stop app server/process scheduler
Run the import
Do some reconfig for report repository and such
Start app server and process scheduler

Is it possible to stop/start the app server & process scheduler from a
remote machine?
If I can figure this out I can write one stored procedure that does all of
the above for me.