Date: Thu, 5 Oct 2006 15:10:26 -0400
Reply-To: Randy Herbison <RandyHerbison@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy Herbison <RandyHerbison@WESTAT.COM>
Subject: FW: Update a catalog
Content-Type: text/plain; charset="us-ascii"
Just a quick follow-up: The command will probably work only if SAS can
open a window. It's not likely to work if SAS is started with the
NOTERMINAL option. If you can use commands, you can issue all at once:
NOTEPAD work.new.test.source; INCLUDE "c:\temp\test.sas"; CHANGE class
shoes all; END
From: Randy Herbison
Sent: Thursday, October 05, 2006 3:02 PM
To: 'Alan Churchill'; SAS-L@LISTSERV.UGA.EDU
Subject: RE: Update a catalog
You can use the NOTEPAD command to open a source entry:
After the entry has been opened, you can use other commands:
CHANGE class shoes all
You can issue more than one command at a time if you separate them with
As far as I know, this will open a window. You can automatically close
it with the END command.
A data step alternative might be:
filename mySource catalog "work.new.test.source";
filename mySource clear;
From: email@example.com [mailto:firstname.lastname@example.org]
On Behalf Of Alan Churchill
Sent: Thursday, October 05, 2006 2:17 PM
Subject: Update a catalog
Is there any way to update a catalog entry from a command-line or some
other way vs using the editor? I need an automated method.
Savian "Bridging SAS and Microsoft Technologies"