home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18212 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!mcsun!sunic!nobeltech!kega
  3. From: kega@nobeltech.se (Kent Gabrin)
  4. Subject: Re: DCL question.
  5. Message-ID: <1992Nov19.123226.22821@nobeltech.se>
  6. Organization: NobelTech AB
  7. References: <a2lq0gk@lynx.unm.edu>
  8. Date: Thu, 19 Nov 1992 12:32:26 GMT
  9. Lines: 28
  10.  
  11. In article <a2lq0gk@lynx.unm.edu> hamjavar@hydra.unm.edu (Farid Hamjavar) writes:
  12.    ...Deleted lines...
  13. >
  14. >$ DISPLAY= "WRITE SYS$OUTPUT"
  15. >$ DISPLAY  "''p1'"
  16. >$ DISPLAY  "''p2'"
  17. >
  18. >
  19. >Now if any of the parameters starts with   /    this script will crash :
  20. >
  21. >$ @t.com /parameter1  /parameter2
  22. >%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement
  23.  
  24. Yes and the reason is that VMS thinks that /parameter1 and /parameter2
  25. is a qualifier to the command procedure (compare /OUTPUT which at the
  26. moment is the only qualifier available). To transmit parameters
  27. untouched you must enclosed them by quotationmark ("). In your case:
  28.  
  29. $ @t.com "/parameter1"  "/parameter2"
  30.  
  31. Note also that no upcase translations is done either.
  32.  
  33. See also  $ HELP @
  34.  
  35. -- 
  36. Kent Gabrin   NobelTech Systems    ! My thinking is not as great as
  37. S-175 88 Jaerfaella      Sweden    ! Oliver Berendinus Bumble /Will Try
  38. KEGA@nobeltech.se ! System Manager (Since 1982) VAXCluster (Since 1985)
  39.