home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / oracle / 2617 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!qucis.queensu.ca!ember!vicuna!frampton
  2. From: frampton@vicuna.ocunix.on.ca (Steve Frampton)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Can the screen be cleared in RPT?
  5. Message-ID: <THo8VB1w165w@vicuna.ocunix.on.ca>
  6. Date: 23 Dec 92 01:25:52 GMT
  7. Reply-To: frampton@vicuna.ocunix.on.ca
  8. Followup-To: comp.databases.oracle
  9. Organization: Vicuna Systems, Kingston, Ontario, CANADA
  10. Lines: 50
  11. Content-Type: text/plain; charset=us-ascii
  12.  
  13. Hi everyone:
  14.  
  15. Just 3 quick questions:  
  16.  
  17. (1) I am writing an RPT where I wish to display a bunch of stuff to the 
  18. user, accept some input, etc.  I would like the screen to be "pretty" and 
  19. was wondering if there was some way of clearing the screen under RPT 
  20. (besides outputting 25 lines).  Oh, this should be a VAX/VMS solution 
  21. (VT220/VT320 emulator).
  22.  
  23. I tried something to the effect of:
  24.  
  25. .define clrscrn a4
  26.  
  27. .define get_clrscrn_value
  28.    select chr(27)||'[2J'
  29.    into   clrscrn
  30.    from   dual
  31. ..
  32.  
  33. .define my_proc
  34.    .execute get_clrscrn_value
  35.    .tell ""clrscrn
  36.    .tell "Welcome to my report..."
  37. ..
  38.  
  39. This method certainly works under DCL, but does nothing under both
  40. SQL*Plus and RPT.
  41.  
  42. Is there an easy way to clear the screen?
  43.  
  44.  
  45. (2) Is there a way to pass a variable from a DCL script to an RPT
  46. program?  If so, how?
  47.  
  48. (3) Is there a way for RPT to execute a DCL command from within the
  49. report?  If so, how?
  50.  
  51. I would appreciate any information you can provide.  Please respond
  52. via e-mail to preserve bandwidth, I shall be quite happy to follow-up 
  53. here with a summary.
  54.  
  55. Thanks in advance!
  56.  
  57. +--------+< Unabashed Shabba Ranks Fan! >+------+--------------------+
  58. | Steve Frampton - frampton@vicuna.ocunix.on.ca | Steve Frampton     |
  59. | I collect postcards!  If you send me one from | 501-A Princess St. |
  60. | your area, I'll send one in return.  Send to >| Kingston, Ontario  |
  61. | (Don't forget both email and mailing address) | CANADA   K7L 1C3   |
  62. +-----------------------------------------------+--------------------+
  63.