GETMSG

Description

Retrieves messages that DirectConnect or Adaptive Server Enterprise generate during SQL request processing.

Syntax

Syntax varies with the programming language.

Examples

COBOL II

  1. Test SPIND before issuing a GETMSG:

    PERFORM UNTIL (SPIND NOT = 'M')
         CALL 'GETMSG' USING SPAREA
         PERFORM PROCESS-MSG
     END-PERFORM.
    

Usage