HP OpenVMS Systems

ask the wizard
Content starts here

Java and OpenVMS File System? DELETE version?

» close window

The Question is:

How can I delete only the latest version of a file using a java class?
Because using file.delete() I delete all versions of this file and not only the
 last one.
Thank you!

The Answer is :

  The Java language does not particularly have the concept of file
  You can use a call out to an OpenVMS DCL command or a call to an
  OpenVMS RTL routine such as lib$delete_file().
  Please upgrade to a supported OpenVMS Alpha release, and please
  apply the mandatory ECO kits for the OpenVMS release in use.

answer written or last revised on ( 29-APR-2004 )

» close window