comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » VMS PVwave 3.10 - ASSOC variables and FORTRAN
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
VMS PVwave 3.10 - ASSOC variables and FORTRAN [message #463] Wed, 29 July 1992 02:34 Go to next message
Hugh D.R. Evans is currently offline  Hugh D.R. Evans
Messages: 2
Registered: March 1992
Junior Member
Hello,

I am trying to establish several ASSOC variables for unformatted
FORTRAN files under VMS.

The fortran files have sequential organisation and variable length
records (maximum length 82 bytes).

The equivalent PVwave record structure used is:
point = {orbit_point, $
Time: DOUBLE( 0.0), $
long: DOUBLE( 0.0), $
lat : DOUBLE( 0.0), $
height: DOUBLE( 0.0), $
POS : DBLARR( 3), $
VEL : DBLARR( 3) $
}

By opening the file (as specified in the manual) using:
WAVE> openu,1,'filename',/segmented ; the use/ommission of /seg has no effect.
WAVE> s = ASSOC(1,point)
WAVE> print,s
% Invalid file organization for ASSOC.
% Execution halted at $MAIN$ .


The manual does mention that *UNIX* unformatted fortran files are
incompatible with the ASSOC function, but no mention is made of
the *VMS* unformatted fortran files.

Any help with this problem would be greatly appreciated.

Many Thanks,
Hugh

ESTEC * Inet: hevans@estwm8.dnet.estec.esa.nl
P.O. Box 299 * or hevans@estec.esa.nl
2200 AG Noordwijk * SPAN: ESTCS1::HEVANS
The Netherlands * BITNET: HEVANS@ESTEC
Re: VMS PVwave 3.10 - ASSOC variables and FORTRAN [message #465 is a reply to message #463] Wed, 29 July 1992 04:23 Go to previous message
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
The ASSOC function is used only with fixed length records and direct access
files on VMS systems. Read the file with the structure via the READU command.
If you really want direct access to any record in the file you will probably
have to recreate the file or calculate the record position in the file and use
the POINT_LUN proceedure.

Good Luck

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*-*
Joseph M. Zawodny (KO4LW) /\
NASA Langley Research Center \/ My opinion is only my own just as yours is
Hampton VA, 23665-5225 /\ your own. Remember that and we will all be
zawodny@arbd0.larc.nasa.gov \/ Happy.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*-*
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SUMMARY: formatted printing of structures
Next Topic: Getting data from Ingres databases into PV-WAVE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:50:58 PDT 2025

Total time taken to generate the page: 0.00654 seconds