LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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 %include it. 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 ... submit continue; %include coderef; endsubmit; rc = filename('coderef', ''); rc = delete ('work.submit', 'catalog');

Another, perhaps more effective way, is to issue the command CLEAR RECALL.

submit continue; ... endsubmit; call execcmdi ('CLEAR RECALL');

-- Richard DeVenezia - SAS Macros and AF Tools

"BrainMine" <> wrote in message news:001c01c12000$3ec3e940$ > 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 > command. > > 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

Back to: Top of message | Previous page | Main SAS-L page