C Collection of code snippets by Arne Vajhøj 
C (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
      program trnlog
      integer*4 dnmlen
      character*80 dnm
      call sys$trnlog('SYS$DISK', dnmlen, dnm, , ,)
      write(*,*) '|' // dnm(1:dnmlen) // '|'
      end
