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 relrdseq
      integer*4 i, buflen
      character*80 buf
      open(unit=1,file='rel.dat',status='old',form='formatted',
     +     organization='relative',recl=512,recordtype='variable',
     +     access='sequential')
100   read(unit=1,fmt='(q,a)',end=200) buflen,buf
      write(*,*) '|'//buf(1:buflen)//'|'
      goto 100
200   close(unit=1)
      end
