HP OpenVMS Systems

ask the wizard
Content starts here

Seeking example code?

» close window

The Question is:

Using fortran, I would like a COMPLETE listing for the DCL command
Dir/col=1/output=Some.txt *.*;*
A full listing is a hard thing to find.
(Perhaps a web address of someone who may have it ? )
Rod Hogue

The Answer is :

  The intent of your question is somewhat confusing -- the DIRECTORY
  command is not written in Fortran, so a listing of DIRECTORY would
  not be useful.  The OpenVMS Wizard will assume you wish information
  on how to perform the equivilent of the specified DIRECTORY command
  (from Fortran or other languages).  If so, you will want to learn
  about and use the RMS services, or the OpenVMS RTL calls lib$find_file
  and lib$find_file_end, or the lib$spawn call.
  If you seek examples of calls to these and other services (written
  in Fortran or other languages), you will want to check the Compaq
  support network (available to contract customers) as well as the
  Compaq Customer Support Center.  An example that exactly fits your
  needs can likely be provided by the Compaq Professional Services

answer written or last revised on ( 20-JUN-2000 )

» close window