ContentsIndexPreviousNext

TEXT*

This variable controls the text of runtime messages. The ACUCOBOL-GT runtime system displays a number of informational and warning messages to the end user. Several of these messages can be customized via entries in the configuration file.

For each message that you want to change, place the word "TEXT" in your configuration file, followed by a message number from the list below, an "=" sign, and then the text you would like to use.

For example, the standard message #1 is "Press return". You can change that message to "push enter" by placing this line in your configuration file:

TEXT  1=push enter


Note that there is no space before or after the equal sign, and that the new message is not in quotes.
These are the standard runtime messages and their numbers:

Message # Text
1 "Press return"
2 "Number required"
3 "Entry required"
4 "Field must be filled with data"
5 "Too many hot keys active"
6 "Program missing or inaccessible"
7 "Not a COBOL program"
8 "Corrupted program"
9 "Inadequate memory available"
10 "Unsupported version of object code"
11 "Program already in use"
12 "Too many external segments"
13 "Large-model program not supported"
18 "Please end this application first"
19 "Japanese objects not supported"
20 "Too many lines"
21 "License manager (acushare) not running"
22 "Data must fit this format:"
23 "&Ok"
24 "&Yes"
25 "&No"
26 "&Cancel"

Messages 23, 24, 25, and 26 are used by character-based versions for the message box facility.
28 "Unable to access the file "%s" due to heavy usage by other users. Would you like to continue waiting for it?"

See the configuration variable WAIT_FOR_FILE_ACCESS.
30 "Connection refused - perhaps AcuConnect is not running"
31 "Please enter a value between %ld and %ld".

This message is displayed when the user enters a value outside of the allowed range for an entry-field

(see MIN-VAL/MAX-VAL in the entry-field reference). The first "%ld" is replaced by the MIN-VAL setting. The second "%ld" is replaced by the MAX-VAL setting. You may omit these if you desire. Note that the second character in the sequence is the letter "l", and not the number one ("1").