home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!gatech!paladin.american.edu!auvm!SWIRL.MONSANTO.COM!GIBES
- Message-ID: <9207310030.AA06570@tin.monsanto.com>
- Newsgroups: bit.listserv.sas-l
- Date: Thu, 30 Jul 1992 19:30:29 -0500
- Reply-To: Kernon Gibes <gibes@SWIRL.MONSANTO.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Kernon Gibes <gibes@SWIRL.MONSANTO.COM>
- Subject: RE: FSEDIT delete observation
- Comments: To: SAS-L@uga.cc.uga.edu@tin.monsanto.com
- Comments: cc: GIBES@tin.monsanto.com
- Lines: 38
-
- CONTENT: F/U to a response ---fyi---
- SUMMARY: Can also use FSEDIT option NODEL to prevent deletes
- REL/PLTF: 6.07/?
- E-ADDR: gibes@swirl.monsanto.com
- NAME: Kernon Gibes
- PHONE: (708) 506-2873
- DATE/TIME: 30 July 1992, 7:41 p.m. CDT
-
- I think that Natan Galkowicz wrote (regarding preventing a DELETE command
- in FSEDIT):
-
- >There is no way to do that under Version 6.06.
- >On the other hand, under Version 6.07, there is more that one
- >option to acomplish this task.
- >The best one is as follow :
- >
- > INIT:
- > CONTROL ALLCMDS;
- > RETURN;
- > MAIN:
- > CMD=LASTCMD();
- > IF CMD='DELETE' THEN DO;
- > ... more commands....
- > CALL NEXTWORD();
- > END;
- > TERM:
- > RETURN;
- >
- >Using this method, you have full control of any action
- >from the command line.
-
- FYI:
-
- One of the "other" options includes just specifing NODEL on the PROC
- FSEDIT statement. This MIGHT be a preferred approach for someone who
- doesn't want to get involved in a lot of SCL coding. Another approach
- is to set the "allow DELETE command" field to "N" in the FSEDIT parms
- window.
-