[an error occurred while processing this directive]

HP OpenVMS Systems

Ask the Wizard
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

Quick Links

» Non-javascript page
» Ask the Wizard
» OpenVMS FAQ

Test Drive OpenVMS

» OpenVMS I64 test drive
» Java test drive

Other information resources available to you include:

» OpenVMS freeware
» ECO kits, software and hardware support, prior version support
» Alpha SRM, ARC, and AlphaBIOS firmware updates
» ENCOMPASS - HP user group
» OpenVMS software downloads, OpenVMS freeware CD-ROM
» OpenVMS firmware locations
» DECconnect passive adaptor charts
» Cables reference guide
» MicroVAX console commands
» OpenVMS student research

Select a topic below to see Questions Frequently Asked by partners

» Using the online documentation library(installing BNU from the asap SDK)
» Global sections(how to create and use.)
» xx$CREATE_BUFOBJ system service(usage)
» Ethernet address(methods of determination)
» Shareable images(cookbook approach to creating one)
» Sharing data/code at absolute addresses(a guide with examples)
» Determining the Alpha microprocessor
» Using GETSYI to get hardware status

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
HP Integrity server animation
Content starts here

Ask the Wizard Questions

UCX: nfs disk and CONVERT

The Question is:

In a batch job we have a simple convert call: it takes an input file that
is stored on an Alpha disk and puts the output on an NFS-mounted disk that
is on a Unix (HP) computer. The convertion makes that the format of the record
becomes stream_lf. Everything works ok. The output file is stream_lf formatted.
The output file is an input into a Unix application, that we (VMS-users) can
not control. Before the Unix application starts to read the data, the file
is moved to another Unix directory and "disapears" from the NFS-disk.

SOMETIMES THE CONVERTING REPORTS ERRORS. There are 2 kind of the errors:

1. File not found, (or no such file, I don't remember) that points to the output
   file.
   In this case we can see that the file has really been created on the NFS
   disk and even treatment of this file made by the Unix application was done
   correctly. I.e. we can ignore this message and the only problem we have
   is to make up our minds if we should delete or not delete the input file,
   used in CONV call, since the DCL reports the error status.

2. %CONV-F-WRITEERR, error writing DNFS3:[000000]...fil_spec...
   -RMS-F-WBE, error on write behind
   -SYSTEM-E-NOSUCHFILE, no such file
   In this case the file that is created on the NFS-disk is also taken by
   the Unix application but the data seems to be corrupted because the Unix
   application reports an error in the indata.
   It looks like that converting was not completed when the Unix application
   or mv (move) started to operate on the file.

We've noticed that error 1 is common when we have small files and error 2 when
the files are big, like 500 blocks.

My guess is that there is no lock mechanism that makes the file unavailble for
the Unix system if it is a file on NFS mounted disk created by the VMS.
The Unix application, loops and searches for the file and as soon it has
found a file, it "steals" the file for OpenVMS, that errs.
Could it be so?
Do you have any solution?


The Answer is:

UCX: nfs disk and CONVERT
In a batch job we have a simple convert call: it takes an input file that
is stored on an Alpha disk and puts the output on an NFS-mounted disk that
is on a Unix (HP) computer. The convertion makes that the format of the record
becomes stream_lf. Everything works ok. The output file is stream_lf formatted.
The output file is an input into a Unix application, that we (VMS-users) can
not control. Before the Unix application starts to read the data, the file
is moved to another Unix directory and "disapears" from the NFS-disk.

SOMETIMES THE CONVERTING REPORTS ERRORS. There are 2 kind of the errors:

1. File not found, (or no such file, I don't remember) that points to the output
   file.
   In this case we can see that the file has really been created on the NFS
   disk and even treatment of this file made by the Unix application was done
   correctly. I.e. we can ignore this message and the only problem we have
   is to make up our minds if we should delete or not delete the input file,
   used in CONV call, since the DCL reports the error status.

2. %CONV-F-WRITEERR, error writing DNFS3:[000000]...fil_spec...
   -RMS-F-WBE, error on write behind
   -SYSTEM-E-NOSUCHFILE, no such file
   In this case the file that is created on the NFS-disk is also taken by
   the Unix application but the data seems to be corrupted because the Unix
   application reports an error in the indata.
   It looks like that converting was not completed when the Unix application
   or mv (move) started to operate on the file.

We've noticed that error 1 is common when we have small files and error 2 when
the files are big, like 500 blocks.

My guess is that there is no lock mechanism that makes the file unavailble for
the Unix system if it is a file on NFS mounted disk created by the VMS.
The Unix application, loops and searches for the file and as soon it has
found a file, it "steals" the file for OpenVMS, that errs.
Could it be so?
Do you have any solution?