home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / bit / listserv / sasl / 5491 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.2 KB  |  60 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!usc!howland.reston.ans.net!paladin.american.edu!auvm!COMPUSERVE.COM!76666.136
  3. Message-ID: <921230211359_76666.136_CHL73-1@CompuServe.COM>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Wed, 30 Dec 1992 16:14:00 EST
  6. Reply-To:     Patrick Spreng <76666.136@COMPUSERVE.COM>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Patrick Spreng <76666.136@COMPUSERVE.COM>
  9. Subject:      Cursor Position in FSEDIT Called from AF
  10. Lines: 48
  11.  
  12. SAS/FSP and SAS/AF Version 6.07
  13.  
  14. Amnon Igra writes:
  15.  
  16. > I am using the call fsedit function in a SAS AF SCL program. When I use it
  17. > without specifying a screen, then the cursor automatically is placed on the
  18. > first variable in the default screen, and the tab key takes the cursor to the
  19. > next variable just like I want it to.
  20. >
  21. > When I specify a screen, and then modify the screen using SAS FSEDIT screen
  22. > modify menu, I no longer get the cursor to work as before. I don't think I
  23. > should have to write another SCL program in FSEDIT. Can anyone help me figure
  24. > out why the cursor no longer responds to the tab key, and why it no longer is
  25. > initially placed on the first screen variable? Thanks very much!
  26.  
  27. I know of two ways to change the cursor position.  One is
  28. documented on page 269 of "SAS/FSP Software Usage and
  29. Reference."  The CURSOR command is entered while you are in the
  30. FSEDIT window and changes the default cursor position used each
  31. time an observation is displayed.
  32.  
  33. The other way is to add the CURSOR SCL statement to the INIT
  34. section of your program.  This is documented on page 134 of
  35. "SAS Screen Control Language Reference."  This is the method
  36. that I use when I'm developing FSEDIT applications called from
  37. SAS/AF version 6.07 under MVS.
  38.  
  39.         FSEINIT:
  40.            return;
  41.         INIT:
  42.            cursor wvarname;
  43.            return;
  44.         MAIN:
  45.            ...
  46.  
  47. I hope that this is helpful in your situation of SAS 6.04.
  48.  
  49. ---------------------------------------------------------------
  50.  
  51. Bruce Zak                                    ^
  52. Systems Specialist                          / \
  53. Lone Star Gas Company                      ( + )
  54. Dallas, Texas                               ---
  55.  
  56.  
  57.  
  58. Distribution:
  59.   >INTERNET:SAS-L@OHSTVMA.BITNET
  60.