home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3502 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.6 KB  |  58 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!gatech!paladin.american.edu!auvm!TAUNIVM.BITNET!ZIMERMAN
  3. Message-ID: <SAS-L%92073023211293@AWIIMC12.IMC.UNIVIE.AC.AT>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Fri, 31 Jul 1992 00:20:59 IST
  6. Reply-To:     OSCAR ZIMERMAN <ZIMERMAN@TAUNIVM.BITNET>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         OSCAR ZIMERMAN <ZIMERMAN@TAUNIVM.BITNET>
  9. Subject:      FSEDIT delete observation
  10. Lines: 46
  11.  
  12. Hello SASlers ...
  13.  
  14. > My question is very simple :
  15. >      In an FSEDIT Application, I want to lock the option
  16. >      DELETE.
  17. >      This means, that the user will be able to add or update
  18. >      a record, but never delete any observation.
  19. >
  20. > I am sure that I am not the first one to need something like
  21. > that.
  22. >
  23. > Please,send the possible answers directly to me. I will resume
  24. > to all of you
  25. >
  26. > Plataform : CMS    Version 6.06
  27.  
  28.  
  29. Solution :
  30.  
  31. There is no way to do that under Version 6.06.
  32. On the other hand, under Version 6.07, there is more that one
  33. option to acomplish this task.
  34. The best one is as follow :
  35.  
  36.             INIT:
  37.             CONTROL ALLCMDS;
  38.             RETURN;
  39.             MAIN:
  40.               CMD=LASTCMD();
  41.               IF CMD='DELETE' THEN DO;
  42.                   ... more commands....
  43.                    CALL NEXTWORD();
  44.               END;
  45.             TERM:
  46.             RETURN;
  47.  
  48. Using this method, you have full control of any action
  49. from the command line.
  50.  
  51.  
  52.                                  Thank you for all of you
  53.                                  who help me to solve this
  54.                                  problem.
  55.  
  56.  
  57.                                  Natan Galkowicz
  58.