NAME

       FMATTR_ll  -  associate  a  free fortran logical unit to a
       file



SYNOPSIS

       USE MODI_FM_ll

       CALL FMATTR_ll( HFILEM, HFIPRI, KNUMBR, KRESP)



ARGUMENTS

       IN

              CHARACTER*    ::    HFILEM
              CHARACTER*    ::    HFIPRI


       OUT

              INTEGER    ::    KNUMBR
              INTEGER    ::    KRESP




DESCRIPTION

       The FMATTR_ll routine associates a  free  fortran  logical
       unit KNUMBR to the file whose name is specified in HFILEM.
       The routine works only with sequential  applications  that
       donīt open a file with the parallel I/O routines FMOPEN_ll
       and OPEN_ll.  BEWARE : the user must open the file between
       two  successive  calls  to  FMATTR_ll otherwise the second
       call to FMATTR_ll gives the same logical unit as the  pre­
       vious call.



RETURN VALUES

       Upon  successful completion, KRESP is set to 0 and KNUMBER
       contains a valid fortran logical unit. Otherwise KRESP  is
       set to a non zero value and an error message is printed in
       the file whose name is HFIPRI.



SEE ALSO

       FMLOOK_ll(3f)










Man(1) output converted with man2html