NCEPLIBS-bufr 11.7.1
igetsc.f File Reference

Check for an abnormal status code associated with the processing of a file. More...

Go to the source code of this file.

Functions/Subroutines

function igetsc (LUNIT)
 This function returns a status code associated with any file that was previously opened via a call to subroutine openbf(), so that the application program can check whether the BUFRLIB software encountered any specific problems while processing the file. More...
 

Detailed Description

Check for an abnormal status code associated with the processing of a file.

Definition in file igetsc.f.

Function/Subroutine Documentation

◆ igetsc()

function igetsc (   LUNIT)

This function returns a status code associated with any file that was previously opened via a call to subroutine openbf(), so that the application program can check whether the BUFRLIB software encountered any specific problems while processing the file.

Author
J. Ator
Date
2010-05-11
Parameters
[in]LUNIT– integer: Fortran logical unit number for BUFR file
Returns
igetsc – integer:
  • 0 = no problems were encountered
Remarks
  • Once subroutine openbf() has been called for LUNIT, this function can then be called any number of times and at any point throughout the remainder of the life of the application program. However, it is most typically called immediately prior to exiting an application program.

Program history log:

Date Programmer Comments
2010-05-11 J. Ator Original author
2014-12-10 J. Ator Use modules instead of COMMON blocks

Definition at line 31 of file igetsc.f.

References bort(), igetsc(), and status().

Referenced by igetsc().