HP OpenVMS Systems

ask the wizard
Content starts here

64-bit addressing, system service itemlists?

» close window

The Question is:

 
Using 'C' - I am trying to call sys$getdviw() to return the name of a device.
 This works fine when compiling /POINTER=32 but when I compile with /POINTER=64
 I receive an ACCVIO:
va=000000000000000C
PC=0000000000000012
PS=00000003
I suspect that my home-brewed itmlst is to blame.  Where can I find a 'robust'
 definition for itmlst?
Thanks
Dave
 


The Answer is :

 
  The itemlist you are using is apparently a 32-bit structure; please
  see the pragmas for establishing the pointer sizes around the structure
  declarations or code involved.
 
  Alternatively, for details on operating with sixty-four bit addressing
  and for the 64-bit itemlist structures, please see the OpenVMS
  Programming Concepts Manual chapter on the topic -- a section
  comparing 32- and 64-bit itemlists is included within the chapter.
 

answer written or last revised on ( 18-JUN-2003 )

» close window