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

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

    • Related Articles

    • DN API (Document Number Handling)

      Release: 1/11/2021 Version: V8.5 and higher DN API: Document Number Increase, Roll Back or Validate In Elliott V8.5, the system supports alphabetic document numbers. The logic to sequentially assigning the next document number is complicated. For ...
    • Avalara Source Code Integration - AV API Call

      Release Date: 11/16/21 Revised: 05/23/22 Version: 8.6 and Above This article is intended for Elliott Business Software developers. This API call will allow the programmer to pass a value to indicate which Avalara function is to be performed. The ...
    • DD API Changes (V9.0)

      DD: Drill Down The Drill Down API allows the developer to drill down to another Elliott application. The information provided in SCREEN-PARAMETERS will give the system the correct information to determine if the user has rights to the application ...
    • LT API for Logging Timer Messages

      LT API Release Date: 4/28/2023 Versions: V8.5 and Higher Purpose This API allows the developer to log a timing message in application code. It can be helpful when trying to determine where there may be time-consuming processing bottlenecks. Features ...
    • AP API

      AP API This API returns various values from the Shared Memory Area. For example: MOVE "AP" TO SCREEN-PARAMETERS MOVE "EDITOR" TO SCREEN-LITERAL PERFORM SCREEN-ROUTINE This returns the user’s preferred Editor in SCREEN-ALPHA-FIELD. The following ...