Skip to content

DM API Changes - Use DM,99 to Display Long Messages

Release Date: 02/05/2024
Version: 8.2 & Up

The DM API call is limited to display a message up to 80 digits.  For example, you can use the following message to display a message up to 80 digits:
MOVE SHORT-MESSAGE TO SCREEN-LITERAL
MOVE "DM" TO SCREEN-PARAMETERS
PERFORM SCREEN-ROUTINE

Since SCREEN-LITERAL size is 80 bytes, the message is limited to 80 characters max.

Starting in October 2012, Elliott system manager provides a method to display long messages. See sample codes below:
MOVE LONG-MESSAGE TO MENU-CONTROL
MOVE "DM,99" TO SCREEN-PARAMETERS
PERFORM SCREEN-ROUTINE

MENU-CONTROL needs to be defined as PIC X(1024) or larger.
Messages displayed with the DM,99 API are limited to 1,024 characters.


EMK

Feedback and Knowledge Base