2.1.11 Printing messages to the message or status file

Products: ABAQUS/Standard  ABAQUS/Explicit  

Reference

Overview

Utility routines STDB_ABQERR and XPLB_ABQERR can be called from any ABAQUS/Standard or ABAQUS/Explicit user subroutine, respectively, to issue an informational, a warning, or an error message to the message (.msg) file in ABAQUS/Standard or the status (.sta) file in ABAQUS/Explicit.

Interface

DIMENSION INTV(*),REALV(*)
CHARACTER*8 CHARV(*)
...
CALL STDB_ABQERR(LOP,STRING,INTV,REALV,CHARV)
or
CALL XPLB_ABQERR(LOP,STRING,INTV,REALV,CHARV)
...

Variables to be provided to the utility routine

LOP

Flag for the type of message to be issued.

Set LOP = 1 if an informational message is to be issued.

Set LOP = –1 if a warning message is to be issued.

Set LOP = –2 if an error message is to be issued and the analysis is to be continued.

Set LOP = –3 if an error message is to be issued and the analysis is to be stopped immediately.

STRING

A string of at most 500 characters long between single quotes containing the message to be issued. If the string needs to be written on more than one line, several one line long strings (between single quotes) should be concatenated using the double forward slash (//) operator.

Integer, real, and character variables can be referenced inside the message using the %I, %R, and %S inserts, respectively. The integer, real, or character variables are passed into the utility routine via the INTV, REALV, and CHARV variables, respectively. The variables are then output in the order they are stored in these arrays.

INTV

Array of integer variables to be output. The first %I in STRING will output INTV(1), the second INTV(2), and so on.

REALV

Array of real variables to be output. The first %R in STRING will output REALV(1), the second REALV(2), and so on.

CHARV

Array of at most 8 character long variables to be output. The first %S in STRING will output CHARV(1), the second CHARV(2), and so on.

For information on related topics, click any of the following items: