HP OpenVMS Systems

ask the wizard
Content starts here

Transient Perl error on file rename?

» close window

The Question is:

I invoked a Perl script from a C program and received a return on the invoke of
 35804C. The Perl script simply renames one file at a time from one directory
 to another on the same disc drive and then returns to the C calling program.
 There were about 600
files being renamed and this failed on the 355th file. Tried the process again
 and it ran fine. This process is run everyday without a hitch.
Tks & Rgds,
Richie Cook

The Answer is :

  The OpenVMS Wizard is not in a position to provide support for arbitrary
  Perl environments, and would encourage you to utilize the Perl mailing
  list pointer referenced in the OpenVMS FAQ.
  The OpenVMS Wizard might also suggest using the C rename() function,
  available in most any current version of C.

answer written or last revised on ( 30-DEC-2003 )

» close window