Is there a way to obtain the file name associated to a unit number?
inquire(unit=14, opened=openedq, file=name_of_file)
but I've got an error:
error #7934: An INQUIRE statement must contain only one FILE= specifier, one UNIT= specifier or one DIRECTORY= specifier. [FILE]
Is there another way to obtain the file name associated to an unit number?