[Info-vax] Why doesn't PIPE work with freeware?

alanfe...@gmail.com alanfeldman48 at gmail.com
Wed Oct 12 12:42:46 EDT 2022


Why doesn't this simple PIPE command work? Why doesn't it recognize DIRSORT as a verb? It works fine directly at the DCL prompt. And VMS native commands work fine.

I can DEFINE/USER SYS$OUTPUT to file and SEARCH that file. But shouldn't this work? Why doesn't it? TIA.

$ PIPE DIRSORT TO%.COM;* /DA=CR | SEAR SYS$INPUT "Dec","Nov"
%SEARCH-I-NOMATCHES, no strings matched
$ PIPE DIRSORT TO%.COM;* /DA=CR | TYPE SYS$INPUT
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
 \DIRSORT\
$ VERB DIRSORT
define verb DIRSORT
   image DIRSORT
   parameter P1, label=PATH
      value (type=$file)
   qualifier DATE, nonnegatable
      value (required,type=DATE_KEYWORDS)
   qualifier DELTATIME, nonnegatable
   qualifier LAYOUT, nonnegatable
      value (required,type=LAYOUT_KEYWORDS)
   qualifier SORT, nonnegatable
      value (required,type=SORT_KEYWORDS)
   qualifier HELP
   qualifier VERSION, nonnegatable

define type DATE_KEYWORDS
   keyword BACKUP
   keyword CREATE
   keyword EXPIRE
   keyword REVISE, default

define type LAYOUT_KEYWORDS
   keyword DATEFIRST, default
   keyword FILEFIRST
   keyword TRUNCATE

define type SORT_KEYWORDS
   keyword ASCENDING, default
   keyword DESCENDING

$ 



More information about the Info-vax mailing list