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
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 ...
VA API Changes (V9.0)
VA: Verify Access Elliott V9.0 supports a series of 999 security flags to control access by users to specific features in the software. At runtime, the VA,nnn API is sent (where nnn is a number identifying the security flag) and either “Y” or “N” is ...
Programming API Codes
This document is provided for Elliott software developers. If you are not an Elliott software developer, this document is not meaningful for you. AP: Get SMA Values This API returns various values from the Shared Memory Area. For example: Move ‘AP’ ...
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 ...
FA API Changes (V9.0)
FA: File Access (Without File Handling) This API can be used to retrieve an individual field from a specific record in a file without specifying the file in the program and without opening and closing the file. In its simplest form, one can, for ...