  DCL Programming and Wildcard File Selection? 
 The Question is:
 
In a Dcl Command Procedure, how do I match a list of [possibly wildcarded] file
 names and types to an incoming list of fully defined files (output of a
 DIR/NOHEAD/NOTRAIL command).
 
It seems like I should be able to do this (some how) using F$PARSE but I
 haven't been able to figure it out.
 
More specifically, I make a file of
'candidates' using a DIR/DATE... selection /OUT to a file and then step thru
 that file looking to split it into two others - those with name.types on the
 list and those not on the list.
 
The list is currently 50+ long and it seems too kludgy to have to, for each
 line in, plow thru the list with my own brute force parser.
 
Since I could get a 'hit' on a DIR command using a wildcard file-spec it seems
 that I should be able to signal a 'hit' with F$PARSE
 
 The Answer is :
 
  DCL does not provide a solution for the proposed approach, but
  then parsing the output of a DCL command is not supported and
  not recommended.  Rather, the OpenVMS Wizard would directly use
  f$search and would select the desired target files within the
  DCL procedure using f$file_attributes and f$cvtime and other
  related lexicals.
 
 Answer written or last revised on  2-APR-2003 
