FINDFILE TSO Command

FINDFILE is a TSO command that displays the catalog and location information for a specified dataset.  It is useful for locating a dataset that may have versions on more than one DASD volume.  

It is located in File #300 of the #249 version of the CBT tape and is part of a collection of TSO commands from Jim Marshall of the Air Force.  From the program's source, the original author was Scott Heilman in October, 1977.

Installation

I have placed the source and help text into a single installation - findfil$.jcl - contained in the archive findfile.tgz [MD5: 97CBC6E126722EBD2568A29869CAB5E3].  Download the archive and extract the jobstream (WinZip on Windows/?? or tar on Linux).  Submit the jobstream to assemble and link the single load module for FINDFILE into SYS2.CMDLIB and copy the help text into SYS2.HELP.  If you don't have SYS2.CMDLIB defined, you will need to modify the jobstream to specify a different target load library.  Also if you do not have SYS2.HELP defined, you may modify the jobstream to place the help information into SYS1.HELP.

 

Utilizing FINDFILE

FINDFILE has a single operand, the dataset for which information is to be displayed.  The help text says that normal dataset naming conventions are accepted, but I find that it is not able to locate a dataset unless the fully qualified name is supplied enclosed in single quotes.  An example showing a dataset cataloged on one volume, but having a second copy of the dataset residing on a different volume:

findfile 'sys1.haspsrc' 
'SYS1.HASPSRC' 
DATA SET CATALOGED TO SMP001 
DATA SET FOUND ON FOLLOWING VOLUMES 
    SMP001 
    MVS801 

I hope that you have found my instructions useful.  If you have questions that I can answer to help expand upon my explanations and examples shown here, please don't hesitate to send them to me:


Return to Site Home Page 


This page was last updated on January 17, 2015 .