Date: Mon, 20 Aug 2007 10:29:00 +0200
Reply-To: SAS-L List <email@example.com>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robert Bardos <bardos2@ANSYS.CH>
Subject: Re: file move
Content-Type: text/plain; charset="iso-8859-1"
> Von: vince dubois
> Gesendet: Montag, 20. August 2007 09:49
> Hi everyone;
> here is the thing:
> when one of my variable is empty, i have to move the file where i have
> the value of this variable in another folder.
> Have you an idea ?
first, I'm not really sure I understand what you want.
a) when variable x in dataset y is empty then move y (a SAS dataset? a raw
data file?) to another folder
b) when variable x in dataset y is empty then move z (a SAS dataset? a raw
data file? where z contains the value which is missing in y) to another
Anyway, it is one of those questions where knowing the OS (operating
system) is important.
If you know how to determine that "the variable is empty" then the rest of
your task can be achieved by writing both the needed statements (which may
include "call system" statements) to the stack (by means of 'call
Does this get you going?