[mod.computers.vax] How to access SYSUAF.DAT from pascal

ADRIAANS@HNYKUN52.BITNET.UUCP (02/08/87)

 
HELLO EVERYBODY,
 
Is there anayone who can tell me how to access the sysuaf file from PASCAL.
If I try to access the file with the open command as follows:
 
OPEN (FILE_VARIABLE := SYSUAF_FILE,
      FILE_NAME := 'SYS$SYSTEM:SYSUAF.DAT',
      HISTORY := OLD,
      RECORD_TYPE := VARIABLE,
      ORGANISATION := INDEXED,
      SHARING := READWRITE,
      ERROR := MESSAGE );
 
I get a run-time error which complains about the record length.
The message looks like the following:
 
PAS$K_RECLENGTH The record length specified is inconsistance with this file.
 
(but i didn't specified it, because if i do he says that I musn't do that
 because the record_type is variable)
Could it be that I have to use a system servive (RMS open)
 
 Greetings,
 
 ...................
 .            _+_  .   Tom Adriaansen  : System Manager
 .           (***) .   Address         : University Computer Centre (KU/URC)
 ............/===\..                   : Geert Groote Plein Zuid 41
 . KKKKKUUUUUNNNNN .                   : Nijmegen, The Netherlands
 . KKK  UUUUU NNNN .   Phone           : +31-(80)-515958  (bgg 515959)
 . K    UUUUU  NNN .   Bitnet/EARN     : ADRIAANSEN@HNYKUN52.BITNET
 . KKK  UUUUU   NN .   Surfnet         : URCVX2::ADRIAANSEN
 . KKKKK UUU     N .   Datanet-1 (X25) : <Psi-node>::PSI%18800110607::ADRIAANSEN
 ...................