Class Definition Statement File; Select Statement Example; Fetch Statement Example; Map Statement Example - IBM Enterprise Console Manual

Ibm enterprise console adapters guide
Table of Contents

Advertisement

PollInterval
ProcessExistingMsgs
ServerCCSID Specifies the coded character set identifier (CCSID) of the event

Class Definition Statement File

The file /QSYS.LIB/QUSRSYS.LIB/CFG_MSG.FILE/ MSGCDS.MBR defines how
events are constructed from information sent by the AS/400 message adapter. It is
described in detail in "Class Definition Statement File" on page 18.

SELECT Statement Example

Here, $MSG_ID is a custom keyword set by the adapter. These keywords can be
used to write shorthand notation for SELECT statements. The following is
equivalent to the previous example:
For the $MSG_ID keyword, multiple low:high pairs can be specified with spaces
as separators. An example is as follows:

FETCH Statement Example

MAP Statement Example

Keywords

To customize events, the AS/400 message adapter supports the following
keywords in class definition statements. Evaluation of these keywords is faster
Specifies the amount of time in seconds to return to a suspended
state between checking for new events that have been placed on
the message queue. The default is 20. The following example
shows the format:
Specifies whether the AS/400 messages adapter resets back to the
first message on the message queue when starting. NO sends any
new messages to the message queue. YES sends the first message
on the message queue. This could cause the adapter to resend
previously sent messages and create duplicate events sent to the
event server. The default is NO.
server. This is in case the event server has a special code page or
graphic character set that needs to be supported. The default is
0819.
Chapter 3. AS/400 Message Adapter
41

Advertisement

Table of Contents
loading

Table of Contents