xsetun.f 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. *DECK XSETUN
  2. SUBROUTINE XSETUN (IUNIT)
  3. C***BEGIN PROLOGUE XSETUN
  4. C***PURPOSE Set output file to which error messages are to be sent.
  5. C***LIBRARY SLATEC (XERROR)
  6. C***CATEGORY R3B
  7. C***TYPE ALL (XSETUN-A)
  8. C***KEYWORDS ERROR, XERROR
  9. C***AUTHOR Jones, R. E., (SNLA)
  10. C***DESCRIPTION
  11. C
  12. C Abstract
  13. C XSETUN sets the output file to which error messages are to
  14. C be sent. Only one file will be used. See XSETUA for
  15. C how to declare more than one file.
  16. C
  17. C Description of Parameter
  18. C --Input--
  19. C IUNIT - an input parameter giving the logical unit number
  20. C to which error messages are to be sent.
  21. C
  22. C***REFERENCES R. E. Jones and D. K. Kahaner, XERROR, the SLATEC
  23. C Error-handling Package, SAND82-0800, Sandia
  24. C Laboratories, 1982.
  25. C***ROUTINES CALLED J4SAVE
  26. C***REVISION HISTORY (YYMMDD)
  27. C 790801 DATE WRITTEN
  28. C 861211 REVISION DATE from Version 3.2
  29. C 891214 Prologue converted to Version 4.0 format. (BAB)
  30. C 920501 Reformatted the REFERENCES section. (WRB)
  31. C***END PROLOGUE XSETUN
  32. C***FIRST EXECUTABLE STATEMENT XSETUN
  33. JUNK = J4SAVE(3,IUNIT,.TRUE.)
  34. JUNK = J4SAVE(5,1,.TRUE.)
  35. RETURN
  36. END