VMS Command: Find

What is the command for finding a file (ministry_census.prg) in VMS; (where you don't know which directory the file is under)?  and then, I need to view (cat in AIX) the file.  
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sam PanwarSr. Server AdministratorCommented:
find . -name '*.c' -print


  dir [...]*.c

See HELP DIR for various options to the DIRECTORY command.

Sam PanwarSr. Server AdministratorCommented:

(this tool has quite a bit more to offer, than simply
 speedy searches ..)
to find the file do a root dir search like this

dir dka0:[000000...]ministry_census.prg

(assuming your disk is dka0:, it can be as well dka100:, dka200 or some other name. You can chech disk name using:

show device d

once you have the name and path, e.g.   dka0:[userfiles.census.data]ministry_census.prg (equivalence in windows world would be C:\userfiles\census\data\ministry_census.prg)

you can go to the directory using:

set default dka0:[userfiles.census.data]

and list the file with

type ministry_census.org

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
catoaguilar is correct.

An additional note: if your machine has only one drive, the system drive, your directory command could be:

dir sys$sysdevice:[000000...]ministry_census.prg
JohnLucaniaAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.