xgetun.f 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. *DECK XGETUN
  2. SUBROUTINE XGETUN (IUNIT)
  3. C***BEGIN PROLOGUE XGETUN
  4. C***PURPOSE Return the (first) output file to which error messages
  5. C are being sent.
  6. C***LIBRARY SLATEC (XERROR)
  7. C***CATEGORY R3C
  8. C***TYPE ALL (XGETUN-A)
  9. C***KEYWORDS ERROR, XERROR
  10. C***AUTHOR Jones, R. E., (SNLA)
  11. C***DESCRIPTION
  12. C
  13. C Abstract
  14. C XGETUN gets the (first) output file to which error messages
  15. C are being sent. To find out if more than one file is being
  16. C used, one must use the XGETUA routine.
  17. C
  18. C Description of Parameter
  19. C --Output--
  20. C IUNIT - the logical unit number of the (first) unit to
  21. C which error messages are being sent.
  22. C A value of zero means that the default file, as
  23. C defined by the I1MACH routine, is being used.
  24. C
  25. C***REFERENCES R. E. Jones and D. K. Kahaner, XERROR, the SLATEC
  26. C Error-handling Package, SAND82-0800, Sandia
  27. C Laboratories, 1982.
  28. C***ROUTINES CALLED J4SAVE
  29. C***REVISION HISTORY (YYMMDD)
  30. C 790801 DATE WRITTEN
  31. C 861211 REVISION DATE from Version 3.2
  32. C 891214 Prologue converted to Version 4.0 format. (BAB)
  33. C 920501 Reformatted the REFERENCES section. (WRB)
  34. C***END PROLOGUE XGETUN
  35. C***FIRST EXECUTABLE STATEMENT XGETUN
  36. IUNIT = J4SAVE(3,0,.FALSE.)
  37. RETURN
  38. END