1 DOALL
      DOALL is a command procedure which allows you to  apply  a  single
 command  to  any  number of files which are either specified by a valid
 VMS wild-card file specification or listed in a separate file.

2 Syntax
      The DOALL command must obey the following syntax:

 $ DOALL  {-options}  command  file-specs  {command-line}

3 Options

-a                  (all)
 Perform the command on each file without prompting for permission.

-h                  (help)
 Print this help.

-s<filename>        (skip)
 Skip all files which  precede  "filename"  alphanumerically  and  begin
 processing with the first file which matches or follows "filename".

-y, -n              (yes, no)
 Perform the command or do not perform the command on the first file.

-q                  (quit)
 Exit DOALL without processing any more files.
      Each of the options may be given (without the  preceding  "-")  at
 the prompt once DOALL is invoked.

3 Command
      Any valid DCL command may be given.  Input will be assiged to  the
 user's  terminal  if  in  interactive  mode  (to  allow use of EDT, for
 example).
      If the command given has global qualifiers, place them  after  the
 command with no spaces, e. g., "FOR/LIST".  If the command has multiple
 verbs ("CMS RESERVE") or parameters which do not change  ("FIND  123"),
 then enclose the command argument in quotes as shown in the examples.
      Any qualifiers or parameters which must follow the  file  argument
 on the resulting command line should follow the file specification, and
 should appear just as they would if the command line were  invoked  for
 each file argument individually.
      See the examples for more details.

3 Filespec
      The filespec  parameter  may  be  either  a  valid  wildcard  file
 specification,  such  as  "*.FOR"  or  "S1%ABC.TXT",  or  it  may be an
 indirect specification.  An indirect  specification  is  a  valid  file
 specification  (without  wildcards)  preceded  by  a  "@" sign.  Such a
 specification indicates  that  the  name  arguments  which  are  to  be
 processed (not necessarily file specifications) are listed one per line
 in the indirect file.
      For tools which aid in  constructing  indirect  files,  see  "HELP
 OCCUR" AND "HELP GENLIST" in this library.

2 Usage
      Invoke DOALL by typing

 $ @SUP_COM:DOALL ...


2 Examples

 1)  Compile all .FOR files in the current directory:

     $ DOALL FOR *.FOR


 2)  Perform a CMS INSERT command on  all  .COM  files  in  the  current
     directory:

     $ DOALL "CMS INSERT" *.COM CLASS_NAME /SUPERSEDE "A CMS comment"


 3)  Edit all files listed in the file EDITFILES.LST:

     $ DOALL EDIT/COM=EDTINI.EDT @EDITFILES.LST


 4)  Execute the procedure COMMAND.COM on each .TXT file in the  current
     directory, starting with MIDDLE.TXT:

     $ DOALL -SMIDDLE.TXT @COMMAND *.TXT


 5)  Submit all the .COM files in  a  directory  without  prompting  for
     permission:

     $ DOALL -A SUBMIT/NOTIFY *.COM


