VMS Help  —  Getinput  /TYPE  Examples
   $ GETINPUT OutputSymbol /TYPE=INTEGER/PROMPT="Enter an integer"
   Enter an integer: test
   %GIP-W-INPERR, input has to be numeric
   Enter an integer: 6
   $ show symbol OutputSymbol
     OUTPUTSYMBOL = "6"

   (Getinput always returns a string symbol, even with /TYPE=INTEGER)

   $ GETINPUT OutputSymbol /TYPE=DATE/PROMPT="Enter start date"
   Enter start date: test
   %GIP-W-IVATIME, invalid absolute time - use DD-MMM-YYYY format
   Enter start date: tomorrow
   $ show symbol OutputSymbol
     OUTPUTSYMBOL = "24-NOV-2006"

   $ GETINPUT OutputSymbol /TYPE=FILE/PROMPT="Give output file"
   Give output file: &
   %GIP-W-NOFILE, no valid file specification given
   Give output file: test.log
   $ show symbol OutputSymbol
     OUTPUTSYMBOL = "test.log"
Close Help