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='myhost'
   port=50001;
run;

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