Date: Thu, 9 Aug 2001 09:10:20 -0400
Reply-To: Richard DeVenezia <radevenz@IX.NETCOM.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard DeVenezia <radevenz@IX.NETCOM.COM>
Organization: MindSpring Enterprises
Subject: Re: Can you hide SAS code?
As was mentioned in an earlier thread about hiding code:
You can write the code to be submitted to a SAS WORK catalog entry, and then
When the submit continue returns, you would delete the catalog you just
%included from. The catalog and the entry are now gone.
rc = filename ('coderef', 'work.submit.code.source', 'catalog');
... write data and proc step code to coderef catalog entry ...
rc = filename('coderef', '');
rc = delete ('work.submit', 'catalog');
Another, perhaps more effective way, is to issue the command CLEAR RECALL.
call execcmdi ('CLEAR RECALL');
Richard DeVenezia - SAS Macros and AF Tools
"BrainMine" <Email@BrainMine.nl> wrote in message
> And what is more, as Lpogoda has pointed out, the complete code in the
> SUBMIT block does show up in the program editor after entering the RECALL
> Is there no way to prevent that?
> I already prevented the LOG showing the code by entering OPTIONS NOSOURCE
> NONOTES; at the start of the SUBMIT block.
> Kind regards,
> Clemens van Brunschot