Chapter Contents

Previous

Next
SAS/CONNECT User's Guide

Example 2. Compute Services: Administration Tasks for Remote Data Sets


Purpose

While working on a local host, you can use compute services to perform administration tasks on remote data sets.


Program

This example administers password protection to the TASKLIST data set and backs up a data set that is named CURRENT.

rsubmit;
   proc datasets lib=tsolib;
      /**************************************/
      /* Add password SESAME to remote      */
      /* data set TASKLIST.                 */
      /**************************************/
   modify tasklist (alter=sesame);
   run;

      /**************************************/
      /* Maintain a week's worth of backup  */
      /* copies of data set CURRENT.        */
      /**************************************/
   age current backup1 - backup7;
   run;
   quit;
endrsubmit;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.