BOI Software Entwicklung und Vertrieb GmbH

Phone: +43 (0) 732 / 736423 - 0

Spazgasse 4

Email: office@boi.at

4040 Linz, Austria

www.boi.at

How to pass a user-defined message to an exit, to be used in case of an error?

Description of the parameters of an exit program and example program

For a description of the parameters of an exit program and an example see BOI WIKI: How to call an customer defined exit after table selection but before table maintenance?

Display a user-defined message

In case of an error (return code in 'OUTPAR 5' > ' ') a message is generated by the system, but an own message can also be defined.

To generate a message in case of an error, you must set the data for the message in parameter 6. Preparation and output is performed by the system.

Create your own messages:

User-defined messages must be defined in control table $TAB4PL030 with the menu item Administration / application / explorer menu / edit message.

Example:

Message entry in $TAB4PL030:

Mess. number

Type

Message

PRO0001

E

Test message for table &1 in case of an error

Setting in the exit program:

dcl Tabname          char(10)  inppar 1
dcl Tabvers          char(8)   inppar 2
dcl Tabdd            char(8)   inppar 3
dcl Secdd            char(8)   inppar 4
dcl Exitrc           char(1)   outpar 5
dcl Msgpar           char(80)  outpar 6

Exitrc = 'E'
Msgpar = 'PRO0001' Tabname

Documentation

BOIDOC_209a_config_en.pdf, chapter Protocol exit

See also BOI WIKI: How to call a customer defined exit after table selection but before table maintenance?

Valid from

TABEX/4 Version 4.1.0

Migration Packages

BOI GmbH offers migration packages for the table management systems SPITAB, TABSYS and VTAS.

 

» Migrations Packages

Success Stories

AirPlus has been using TABEX for 20 years.

Now TABEX/4 JAVA APPLICATION ENGINE has additionally been launched for audit-proof logging of the business processes by Java applications.

 

» read this success story

» more success stories