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 (September 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 13 Sep 2010 21:13:41 -0400
Reply-To:     Michael Raithel <michaelraithel@WESTAT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Michael Raithel <michaelraithel@WESTAT.COM>
Subject:      Re: Detect if code has been changed in interactive mode
In-Reply-To:  <201009131653.o8DAnhCf031340@willow.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"

Dear SAS-L-ers,

Ya posted the following:

> Hi there, > > PC SAS, DM mode, is there a way we can detect the change status, before > the code is saved? For example, we open up a piece of source code, > change > a few lines of it on enhanced editor, then submit for running. > > Even more tricky part is to detect if the code submiited is the whole > code or just some of the lines that highlighted? (the code is not > changed) > > Any idea? > Ya, interesting question and nice ensuing discussion! However, as several posters have concluded, it does not seem likely that you can shield the SAS code from being modified by a determined individual and always tell when s/he has modified it in Display Manager.

But, maybe that is why they invented SAS/IntrNet:-) As you likely know, SAS/IntrNet makes use of carefully-crafted web pages on the front-end that fire off canned SAS programs on the back end. Users click on selection lists, check boxes, radio buttons, etc. to specify their data selection/processing criteria. The Name/Value pairs in the web pages are passed to the SAS/IntrNet programs on the backend and become Macro variables that the programs then use to create the reports. So, the users simply cannot get their grubby little paws on the SAS programs and slyly modify them to suite their nefarious schemes. The programs totally are shielded from the users.

So, you might consider a SAS/IntrNet solution... if time and money and resources allow it.

Ya, best of luck in all your SAS endeavors!

I hope that this suggestion proves helpful now, and in the future!

Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Michael A. Raithel "The man who wrote the book on performance" E-mail: MichaelRaithel@westat.com

Author: Tuning SAS Applications in the MVS Environment

Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172

Author: The Complete Guide to SAS Indexes http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Wish I knew what you were looking for, Might have known what you would find... - Under the Milky Way, by The Church +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


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