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 seq3rddir
      integer*4 i
      character*20 buf
      open(unit=1,file='seq.dat',status='old',form='formatted',
     +     organization='sequential',recl=20,recordtype='fixed',
     +     access='direct')
      do 200 i = 1, 100
        read(unit=1,fmt='(a)',rec=i,err=200) buf
        if(buf(1:1).ne.char(0)) then
          write(*,*) '|'//buf//'|'
        end if
200   continue
      close(unit=1)
      end
