home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18192 < prev    next >
Encoding:
Text File  |  1992-11-18  |  992 b   |  48 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!destroyer!fmsrl7!lynx!hydra.unm.edu!hamjavar
  3. From: hamjavar@hydra.unm.edu (Farid Hamjavar)
  4. Subject: DCL question.
  5. Message-ID: <a2lq0gk@lynx.unm.edu>
  6. Date: Thu, 19 Nov 92 01:36:09 GMT
  7. Organization: University of New Mexico, Albuquerque
  8. Lines: 38
  9.  
  10.  
  11.  
  12.  
  13. Hello :
  14.  
  15. As you can tell the following simple DCL script prints its first two
  16. parameters/arguments :
  17.  
  18. $ DISPLAY= "WRITE SYS$OUTPUT"
  19. $ DISPLAY  "''p1'"
  20. $ DISPLAY  "''p2'"
  21.  
  22.  
  23. Now if any of the parameters starts with   /    this script will crash :
  24.  
  25. $ @t.com /parameter1  /parameter2
  26. %DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
  27.  
  28.  
  29.  
  30.  
  31.    Is there any clean way to go around this?  That is, to be able to 
  32.    print them (or use them in same script) as they are?
  33.  
  34.    The reason is that later on, those parameters will be fed to another
  35.    application within the same script. 
  36.  
  37.  
  38. Thank you.
  39. Farid Hamjavar
  40. You can reply publicly or e-mail me : hamjavar@carina.unm.edu
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.