[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Callable COPY? (COPY API)

» close window

The Question is:

 
How do I copy a file using FORTRAN? Is there a system service or a runtime
 library routine available?
 


The Answer is :

 
  No callable COPY API exists, though some applications have used the
  callable convert API (See the Utility Routines Reference manual) for
  this task.  The BACKUP API is an option on OpenVMS V7.1 and later
  releases.  Assuming that the Fortran application always has a CLI
  available, the use of a LIB$SPAWN of the COPY command can also serve
  as a solution.
 
 

answer written or last revised on ( 17-SEP-2001 )

» close window