NCEPLIBS-bufr  12.0.0
bort2.f
Go to the documentation of this file.
1 C> @file
2 C> @brief Log two error messages and abort application program.
3 C> @author D. Keyser @date 2003-11-04
4 
5 C> Log two error messages and abort application program.
6 C>
7 C> This subroutine calls subroutine errwrt() to log two error messages,
8 C> then calls subroutine bort_exit() to abort the application program.
9 C>
10 C> It is similar to subroutine bort(), except that bort() logs
11 C> one error message instead of two.
12 C>
13 C> @param[in] STR1 - character*(*): First error message
14 C> @param[in] STR2 - character*(*): Second error message
15 C>
16 C> @author D. Keyser @date 2003-11-04
17  SUBROUTINE bort2(STR1,STR2)
18 
19  use bufrlib
20 
21  CHARACTER*(*) STR1, STR2
22 
23  CALL errwrt(' ')
24  CALL errwrt('***********BUFR ARCHIVE LIBRARY ABORT**************')
25  CALL errwrt(str1)
26  CALL errwrt(str2)
27  CALL errwrt('***********BUFR ARCHIVE LIBRARY ABORT**************')
28  CALL errwrt(' ')
29 
30  CALL bort_exit_c
31 
32  END
subroutine bort2(STR1, STR2)
Log two error messages and abort application program.
Definition: bort2.f:18
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
Definition: errwrt.f:36
Wrap C NCEPLIBS-bufr functions so they can be called from within the Fortran part of the library.
Definition: bufrlib.F90:11