DMSRVADM Procedure

Example 2: Clean Up Jobs and Logs

This example generates a job report and then uses the contents of the report to terminate all jobs and delete all log files on the DataFlux Data Management Server:
proc dmsrvadm
   out=work.jobReport
   host='http://myhost.unx.com'   port=50001;
run;

data _null_;
   set work.joblist;
   kjrc=dmsrvkilljob (jobid, 'http://myhost.unx.com' , 50001);
   dlrc=dmsrvdeletelog (jobid, 'http://myhost.unx.com' , 50001);
run;