OpenVMS F$PARSE Defaulting
      
        These examples provide an example of the use of the F$PARSE lexical
        function (and the underlying SYS$PARSE system service) to 
        perform one-step multi-level filename defaulting. Using the lexical function
        (or the underlying system service) eliminates the need to develop many lines
        of code, and at the same time ensures that the implementation of filename
        defaulting precisely matches that provided by standard OpenVMS utilities
        (e.g., COPY, LINK, CXX, C, FORTRAN).
        
      
        The three DCL command files comprising this example may be 
        downloaded from this page. For your convenience, the 
        files have been packaged in a ZIP archive.
        
      
        
        The downloadable ZIP archive contains three example command files:
        
        
          | OPENVMS-F$PARSE-EXAMPLE1.COM | Simple defaulting of file type. | 
          | OPENVMS-F$PARSE-EXAMPLE2.COM | Creation of related LIS and OBJ files from source file name | 
          | OPENVMS-F$PARSE-EXAMPLE3.COM | Interactive procedure demonstrating how defaults and related 
              file specifications can be used to generate the common families of 
              filenames (e.g., LIS and OBJ). This processing is easily extensible to 
              other file types. | 
          
        
      References
      
          
            Robert Gezelter “DCL Symbols: Starting at the beginning” 
            The OpenVMS Consultant, OpenVMS.org, March 2, 2009, 
            Retrieved from 
            http://www.openvms.org/stories.php?story=09/03/02/8398294 on July 8,#2010.
          
            Robert Gezelter “Logical Names: Part 5” 
            The OpenVMS Consultant, OpenVMS.org, March 3, 2003, 
            Retrieved from 
            http://www.openvms.org/stories.php?story=03/03/03/4358185 on July 8,#2010.
          
            Robert Gezelter “Logical Names: Part 4” 
            The OpenVMS Consultant, OpenVMS.org, February 6, 2003, 
            Retrieved from 
            http://www.openvms.org/stories.php?story=03/02/06/8131783 on July 8,#2010.
          
            Robert Gezelter “Logical Names: Part 3” 
            The OpenVMS Consultant, OpenVMS.org, November 4, 2002, 
            Retrieved from 
            http://www.openvms.org/stories.php?story=02/11/04/2738906 on July 8,#2010.
          
            Robert Gezelter “Logical Names: Part 2” 
            The OpenVMS Consultant, OpenVMS.org, October 17, 2002, 
            Retrieved from 
            http://www.openvms.org/stories.php?story=02/10/17/9372652 on July 8,#2010.
          
            Robert Gezelter “Logical Names: Part 1” 
            The OpenVMS Consultant, OpenVMS.org, September 24, 2002, 
            Retrieved from 
            http://www.openvms.org/stories.php?story=02/09/24/5441505 on March 11,#2010.