anchor.diff:          if(att_name_s == "E0") then
             if(idp == 0 .or. ition == 0) then ! 4d tracking..
               write(lout,"(a)") "DYNK> ERROR Attribute '"//att_name_s//"' is not valid for 'GLOBAL-VARS' when doing 4d tracking"
  -            call prror(-1)
  +            call prror
             end if
           else
             badelem=.true.
  
positive.code:           ! Should the error only occur if we actually have a GLOBAL-VARS element?
            if(bez(jj) == "GLOBAL-VARS") then
              write(lout,"(a)") "DYNK> ERROR Element found 'GLOBAL-VARS' is not a valid element name, it is reserved"
              call prror(-1)
            end if
  
            if(badelem) then
              write(lout,"(a,i0)") "DYNK> ERROR Attribute '"//att_name_s//"' is not valid for element '"//element_name_s//"'"//&
                " which is of type ",kz(jj)
              call prror(-1)
            end if
          end if
        end do
  
        if(.not. found) then
          write(lout,"(a)") "DYNK> ERROR Element '",element_name_s,"' was not found"
          call prror(-1)
        end if
      end if
    end do
  
negative.code:       write(lout,"(a)") "DYNK> ERROR FUN:FIR/IIR Could not open file '"//trim(dynk_cData(dynk_ncData))//"'"
        iErr = .true.
        return
      end if
      call f_open(unit=dynk_fileUnitFUN,file=dynk_cData(dynk_ncData),formatted=.true.,mode="r",status="old",err=fErr)
      if(fErr) then
        write(lout,"(a,i0)") "DYNK> ERROR FUN:FIR/IIR Could not open file '"//trim(dynk_cData(dynk_ncData))//"', stat = ",ioStat
        iErr = .true.
        return
  