MESSAGE (RPGLE)

Serviceprogramm for Sending Message
Details ....

Copybooks  

QCPYSRC,MODHEADER
Vorgabe der RPG-Headers
QSYSINC/QRPGLESRC,QUSEC
COMMON STRUCTURE FOR ERROR CODE PARAMETER
QCPYSRC,CEEAPI
ILE CEE API Prototypen
QCPYSRC,MESSAGE
Message Serviceprogramm

Procedures  

msg_sendEscapeMessageexported
Send escape message
msg_sendProgramMessageexported
Send program message

Detailed Description  

This service program offers wrapper procedures to easy the sending program messages.
Author:
Mihael Schmidt
Date:
10.03.2009

Procedure Documentation  

msg_sendEscapeMessage  

voidmsg_sendEscapeMessage(Zeichen, Integer)
An escape message is sent via the i5/OS API QMHSNDPM (Send Program Message).

The message will be sent one stack level above the current, as a default.
Parameter:
Zeichen (6000)   const   variable sizeMessage
Numerisch (Integer) (10)   const   optionalStack level (default: 1)
Exported.

msg_sendProgramMessage  

voidmsg_sendProgramMessage(Zeichen, Zeichen, Integer, Zeichen, Zeichen, Zeichen)
A program message is sent via the i5/OS API QMHSNDPM (Send Program Message).

The message will be sent one stack level above the current, as a default.
Parameter:
Zeichen (6000)   const   variable sizeMessage
Zeichen (10)   const   optional   omissibleMessage type (default: *INFO)
Numerisch (Integer) (10)   const   optional   omissibleStack level (default: 1)
Zeichen (7)   const   optionalMessage entry id (optional)
Zeichen (10)   const   optionalMessage file (optional)
Zeichen (10)   const   optionalMessage file library (optional)
Exported.