Chapter 22: Error Messages

This chapter lists the error messages that might be returned while you are developing your Dialog System program.

Run-time System Error Messages

The following error messages are returned by the Dialog System Run-time System software. If errors are detected while you are running your program through the trap screen, the error message number appears in the error code field and the message is displayed at the bottom of the screen.

There are two types of run-time system error messages: recoverable and fatal. Recoverable errors can be trapped in your program, so you can take corrective action and continue to run the program. Fatal errors cause a message to be sent to the screen then terminate your program immediately. Although you cannot recover from a fatal error during the run of your program, once it has terminated, you might be able to rectify the conditions that caused the error.

001 Screenset not initialized (fatal)

You have probably set the Ds-Control field of the control block to a value of "C" before using a value of "N" for a new screenset.

002 Cannot open screenset (fatal)

The system has been unable to find a screenset you have attempted to access in your program.

003 Error reading file (fatal)

A disk corruption has occurred.

004 Invalid screenset (fatal)
005 Cannot create panel (fatal)

There is a maximum of 50 Micro Focus Panels allowed per screen set (Windows only).

006 Dynamic internal error (fatal)

This should never occur. If it does, it might be because a memory limit has been reached. Please contact Product Support.

007 Invalid function code (fatal)

An invalid function was found in the screenset, but Dialog System cannot identify at what stage the error occurred. Check the functions in your screenset. If you cannot find an invalid function, contact Product Support.

008 Invalid procedure number (recoverable)

You have specified a procedure that does not exist. Check that the procedure number you have specified is one that you have already defined.

009 Validation program error (fatal)

The validation program has detected one of errors 010 – 016.

010 Invalid data block version number (fatal)

The Data Block version number in the copyfile does not match the version number in the screenset.

011 Panel limit reached (fatal)

There is a limit of 50 active Micro Focus Panels per screen set (Windows only).

012 Error file missing (fatal)

You have tried to access the error file yourself (see the chapter Programming), but it cannot be found. This error should not occur during normal operation of the Dialog System Run-time System.

013 Subscript error (fatal)

You have used a subscript in dialog that is greater than the size of the associated group.

014 Procedure stack overflow (fatal)

The maximum level of nesting of procedures (that is, XP nesting) is 16.

015 Ctrl-break pressed (recoverable)

Ctrl+Break was pressed while in the Dialog System Run-time software (Windows only). Ctrl+Break detection is only active if the appropriate control parameter is used on the screenset initialization call. Control is passed back to the user program, where you can perform appropriate processing or reinvoke the Dialog System Run-time software.

016 Error on trace file (fatal)

The system has encountered an error, such as a full disk, while trying to access the trace file.

018 Screenset not found (fatal)

This error is returned by the common GUI/Character dsrun module for the first screenset load of the run. It indicates that the named screenset has been searched for in both character and GUI form, but has not been located.

Definition Time Error Messages

The following error messages are produced by the Dialog System definition software.

Data Definition

Cannot change format – field in group

You cannot changed the format of a field contained in a group unless you delete the group definition.

Cannot change format – field in use

You cannot change the format of a field used in a panel unless you delete the field from the panel(s) that use it.

Cannot change format of validated field

You cannot change the format of a field for which validation has been defined unless you delete the validation.

Cannot change length – field in group

You cannot change the length of a field contained in a group unless you delete the group definition.

Cannot change length – field in use

You cannot change the length of a field used in a panel unless you delete it from the panel(s) that use it.

Cannot decrease repeats – field(s) in use

You cannot amend field(s) that are used in a panel unless you delete them from those panels.

Decimal length cannot be specified for this type

You can specify decimal length only for numeric and signed numeric fields.

Error field already defined

You can define only one error field for any screenset.

Error field cannot repeat

You can define only one error field for any screenset.

Error field must be alphanumeric

You can use only an alphanumeric field as an error field.

Field(s) in copied or cut block

This field has an entry in the stack.

Field length cannot be zero

The minimum length of a data field is one.

Field used in dialog

This field has been referenced in at least one dialog table.

Field used on at least one panel

You cannot delete fields that have been used in a screenset.

Group already defined

Data group names must be unique.

Group empty. Exiting now will convert group to text type. Are you sure? Y/N

You have cut all the fields in a data group to a stack. If you exit from the group, the group is no longer treated as a data group, but becomes an empty text group.

Group must repeat at least once

The minimum number of occurrences in a group is one.

Integer length cannot be greater than 18

The maximum length of an integer is 18.

Integer length cannot be zero

The minimum length of an integer is one.

Numeric length cannot be greater than 18

The maximum length of a numeric field, including any decimal part, is 18 bytes.

Only A, S, X, 9 allowed for field format

Valid field formats can be alphabetic, signed numeric, alphanumeric or numeric.

Only space valid for field comp with A format

You cannot specify COMP format for an alphabetic field.

Only space, CX, or C5 valid for field comp with X format

You can specify only space, CX, or C5 for an alphanumeric field.

Only space, C, CX, C3, C5 valid for field comp

You have specified an invalid COMP format.

Only space, C, C3, C5 valid for field comp with S format

The only COMP formats you can specify for a signed numeric field are COMP, COMP-3, or COMP-5.

Only 255 groups may be defined

There is a maximum of 255 groups in a screenset.

Only 512 fields may be defined

There is a maximum of 512 data fields in a screenset.

Spaces not allowed in field name

Field names must start with a alphanumeric letter and must not include any spaces.

This field has already been defined

A field cannot be defined more than once.

This is not a group

There is a minimum of one occurrence in a data group.

Validation not possible for error field

An error field can only be used as an output field. Validation is only possible for input fields.

Validation Definition

Divisor must be greater than zero

The check digit system can use any non-zero, two-digit divisor.

Internal memory error occurred

There is insufficient memory to save the validation.

No more room in the list

The maximum number of validations that can be held in the list is 30.

Upper limit must be greater than the lower limit

The upper limit of the validation must be greater than the lower limit.

Error Message Definition

Corrupted File

This file has been edited outside of Dialog System error definition since it was last saved.

Incorrect File Type

This file has not been created by Dialog System error definition.

Invalid error msg number

You must enter a valid error message number in the range of 1 – 998.

Invalid File Name

A filename must start with an alphanumeric letter and must not include any spaces.

No place to duplicate

Error definition cannot allocate a new number to this error message.

No place to insert

Error definition cannot allocate a new number to this error message.

Nothing to restore

The error definition stack is empty.

Panel Field Definition

Attempt to overwrite an existing field or group

A field cannot overwrite an existing field or group.

Cannot insert on an existing field
Cannot insert on an existing group

You cannot place a field on top of an existing group.

Ctrl+End not allowed from this screen

Ctrl+End keystroke is not active from this panel.

Decimal length not allowed with integer length zero

A field with a decimal part must have an integer part.

Error deleting field

An error has been detected while deleting a field.

Field cannot be positioned off the screen

A field must be positioned in the current panel.

Field length must be shorter than in the data block

The length of a field on a panel cannot be greater than its length in the Data Block.

Field stack is empty

There are no fields stored in the stack to use.

Field stack is full

The field stack can hold a maximum of 16 fields.

Groups must be modified in group maintenance

Fields contained in groups can only be modified from the group maintenance menu.

Internal system error

An internal memory allocation error has occurred. Run Dialog System with more memory, if possible.

Invalid decimal length

The decimal panel length selected is not valid for this field.

Invalid length

The panel length selected is not valid for this field.

Length cannot be zero

The length of a field on a panel must be greater than zero.

Not positioned on a field

The operation requires you to position the cursor on an existing field.

Scrolling not allowed on an output field

You cannot make an output field scroll horizontally.

User formats cannot be specified for output fields

You cannot specify that an output field is a user format field.

Panel Group Definition

Group cannot be expanded any more

You cannot expand a group beyond the limits of the panel coordinates defined.

Group cannot be reduced any more

You have reached the minimum group size. Data groups must contain at least one data field. Attribute groups must be at least one line high.

Group cannot overlap a field

You cannot define a group on top of an existing panel field.

Group cannot overlap another group

You cannot define a group on top of an existing panel group.

Group max size cannot be exceeded

The maximum size of a group is 4000 bytes.

Group used in dialog

You cannot delete a group that is referenced in a dialog table.

Invalid group name

Group names must start with an alphanumeric letter and must not include any spaces.

Name already used in screenset

Group names must be unique.

Dialog Definition

Alphanumeric literal invalid here

You cannot use an alphanumeric literal for this parameter.

A select bar has not been defined for this group

The parameter for this function requires a group with a selection bar.

Dialog not allowed after GOP, POP, BP, or POPGOP
Invalid combination of operands for MOVE

The parameters of the MOVE statement are not compatible types.

Invalid comparison of operands

The parameters of the IF statement are not compatible types.

Invalid field subscript

You must use a subscript that is a numeric literal, a numeric field or the register.

Invalid Function

You must enter one of the valid functions listed in the chapter Function Code List.

Invalid key entry

You must enter one of the valid keys listed in the chapter Programming.

Invalid parameter

You have specified an invalid parameter for this function.

Key entry cannot be blank

You must enter a correct key value.

Key has already been defined

This key has already been defined in this dialog table.

No global procedures have been defined

You have not defined any global procedures for this screenset.

No groups have been defined

You have not defined any groups have been defined for the screenset.

No local procedures have been defined

You have not defined any local procedures for this screenset.

No master fields have been defined

You have not defined any fields for the screenset.

No more dialog entries can be made

There is a maximum of 100 keys in a dialog table.

No panels have been defined

You have not defined any panels for the screenset.

Numeric literal invalid here

You cannot use a numeric literal for this parameter.

Parameter cannot be blank

You must enter one or more valid parameter(s) for this function.

PDUP, PDDN not valid for fixed text group

The PDUP and PDDN functions are valid for virtual text, virtual attribute or data groups.

Procedure has already been defined

You have already defined this procedure in this dialog table.

Procedure has not been defined

You have specified as a parameter a procedure that you have not defined in either the local or global dialog tables.

Procedure used in dialog

This procedure has been used at least once in the local or global dialog tables.

Procedures are nested too deeply

There is a maximum of 16 nested procedures.

Procedures have been defined

You have already defined this procedure name.

Some keys have both upper and lower case entries

You must leave case sensitivity on.

Subscript cannot be blank

The field specified is a group item that requires a subscript.

This field is not a flag

You can use only a single-digit numeric field with a value of zero or one as a flag.

This field is not alphabetic or alphanumeric

You can use only an alphabetic or alphanumeric field for a parameter.

This field is not numeric

You can use only a numeric field for this parameter.

This system name is invalid here

You cannot use $NULL or $REG for this parameter.

Valid procedure numbers are P000 – P255

You must enter a valid procedure name, consisting of the letter "P" followed by a number ranging from 0 to 255.

Warning: Recursive procedure definition

Definition of this procedure will cause recursion, which might cause a loop.

Screen Painting Error Messages

Dialog System might produce the following error messages when you paint your screensets.

Block stack full

You can stack a maximum of 16 blocks.

Block still in existence

Only one block can be active at any one time.

Can't abandon after copy/restore

The abandon facility is available only after you use a cut block facility.

Clear panel? Are you sure? Y/N

The text, data and attributes will be cleared from the current panel if you proceed.

Config file tag not found

The configuration file (dsdef.cfg) does not contain the required information.

Currently standalone mode

Micro Focus Screens is being run in standalone mode, rather than as part of Dialog System. You cannot run the screenset.

Cut/Copy without paste? Y/N

The current block will be discarded unless you paste it.

Data block too large (64K)

The maximum size of the Data Block is 65535 bytes.

Delete panel. Are you sure? Y/N

The specified panel will be deleted if you proceed.

Error closing file

File I/O error. Check your available disk space, ensure that the requested file is not a read only, check that you have used a valid filename. If you still receive this error, contact Product Support.

Error creating file

File I/O error. Check your available disk space, ensure that the requested file is not a read only, check that you have used a valid filename. If you still receive this error, contact Product Support.

Error reading file

File I/O error. Check your available disk space, ensure that the requested file is not a read only, check that you have used a valid filename. If you still receive this error, contact Product Support.

Error writing file

File I/O error. Check your available disk space, ensure that the requested file is not a read only, check that you have used a valid filename. If you still receive this error, contact Product Support.

Exit. Are you sure? Y/N

You will exit the definition software if you proceed.

Exit without saving? Y/N

You have made changes to the screenset that will be lost if you exit without first saving the screenset.

Field definition overlap

The marked area overlaps or splits a field definition.

Field not in master group

A field in this panel group is not contained in a data group.

Fields in different groups

The group specified contains data fields that belong to different data groups.

File already exists. Overwrite? Y/N

The filename already exists in the specified directory.

File not found

The system was unable to find the requested file in the directory specified.

FSI – Data truncated

Internal error. Try to run Dialog System with more memory, if possible. If you still receive this error, contact Product Support for assistance.

FSI – D0 allocation fail

Internal error. Try to run Dialog System with more memory, if possible. If you still receive this error, contact Product Support for assistance.

FSI – Heap full

Internal error. Try to run Dialog System with additional disk space or more memory, if possible. If you still receive this error, contact Product Support for assistance.

FSI – No data

Internal error. Contact Product Support for assistance.

Generate without saving? Y/N

You have made changes to the screenset that will not be included if you generate the data definitions/skeleton program without first saving the screenset.

Group definition overlap

The marked area overlaps or splits a group definition.

Group nesting not allowed

You cannot nest group definitions.

Illegal order character

You have specified an invalid field order character. Valid characters are 0 – 9, A – Z, and a – z.

Incompatible version

The screenset specified is not compatible with this version of Dialog System.

Initialize. Are you sure? Y/N

All panels, data, and dialog in the current screenset will be deleted if you proceed.

Internal error on heap open

Internal error. Contact Product Support for assistance.

Internal error on heap close

Internal error. Contact Product Support for assistance.

Internal error on heap read

Internal error. Contact Product Support for assistance.

Internal error on heap write

Internal error. Contact Product Support for assistance.

Internal heap error

Internal error. Contact Product Support for assistance.

Internal overflow

Internal error. Contact Product Support for assistance.

Invalid delete

You cannot delete a field that is part of a group. You must use the group maintenance menu to alter the group.

Invalid FEM function

Internal error. Contact Product Support for assistance.

Invalid function

Internal error. Contact Product Support for assistance.

Invalid line in config file

The configuration file (dsdef.cfg) contains an invalid line.

Invalid mark

The marked area is not valid for the selected function.

Invalid – mark is active

This function is not available while an area is being marked.

Load without saving? Y/N

The current screenset will not be saved before the next screenset requested is loaded.

Name already exists

The name specified already exists in the current screenset.

No block defined

The selected function requires you to define a block. For example, to specify a new group there must be a block specifying its dimensions.

No block to restore

The block stack is empty.

No border possible

There is a minimum panel height of three lines and width of three characters required for a border.

No field in group definition

The marked area does not contain a field definition.

No screenset loaded

A screenset must be loaded before it can be run.

No occurs

The group only has one occurrence.

Non-existent field

The cursor is not positioned over a panel field.

Not on a group

There is no group in which to insert the field.

Not on Input or I-O field

You cannot specify field order for an output field.

Not possible; block has group(s)

Once a block containing groups has been cut from the panel, you must paste or copy it back onto the current panel.

Panel field table full

There is a maximum of 100 data fields allowed per panel.

Panel group limit reached

There is a maximum of 30 panel groups allowed.

Panel limit reached

There is a maximum of 50 panels that can be visible on the screen. Use the unshow-panel function to remove some of the panels from the screen.

Protected area – field

You cannot overtype a data area.

Referenced in dialog

This item is a referenced in a dialog table.

Screenset copied (name changed)

The screenset specified cannot be loaded because it has been copied to a new name. Save it under its original filename before you attempt to reload it.

Screenset empty

No panels in the screenset.

Source data repeat limit

You have specified more repetitions for your panel group than you defined in your data group.

Too many panel attributes

The attribute buffer is full; no more attributes are allowed. Try to group attributes together, if possible.

Unknown file format

The file specified cannot be loaded.

Validation space full

The validation buffer is full. Save and reload your screenset or delete any unnecessary validations.

Virtual group area

You can modify an area defined as a virtual group only using the group function.

Virtual space full

The virtual space buffer is full. Save and reload your screen set, or delete unnecessary virtual text, attributes, or selection bars.

Import Utility Error Messages

The following error messages might be produced by Dialog System when you import a screenset.

Recoverable Errors

A Check Digit validation is allowed for numeric field only

You can specify check digit validation only for numeric fields that have no decimal places.

A maximum of 30 Range/Table validations are allowed

The maximum number of range/table validations that can be held in the list is 30 for each field.

A maximum of 18 weights are allowed

The maximum number of weights you can enter to use for check digit validation is 18.

Attempted to overlap existing group: group-name

An imported panel group cannot overlap an existing group.

Attributes exceed panel height

The attribute rectangle being imported exceeds the defined height of the panel.

Attributes exceed panel width

The attribute rectangle being imported exceeds the defined width of the panel.

Case sensitivity must be ON

Some keys have upper- and lower-case entries in the dialog, so case-sensitivity must remain on.

Date format does not match field size: field-name

You can define date format for numeric fields of size 4, 5, 6, or 8 with no decimal places, or alphanumeric of size 7, but the date format must be the same size as the field.

Decimal length must be zero: field-name

A field is an integer so must not have a decimal part.

Dialog not allowed after GOP,POP,BP,BPD or BPR

No further functions are allowed following the GOP, POP or BP functions. Function entry should not be blank.

Dialog table is full

There is a maximum of 100 keys in a dialog table.

Duplicate Dialog key entry: key-value

This key is already defined in this dialog table.

Error message number already exists: message-no

A file already exists with a message with this number.

Error message number cannot exceed 998

You must enter a valid error message number in the range 1 through 998.

Field does not exist: field-name

Validation has been specified for a non-existent field.

Field is not a Dialog flag: field-name

Only a single-digit numeric field can be used as a flag.

Field is not alphanumeric: field-name

Only an alphanumeric field can be used for this parameter.

Field is not numeric: field-name

Only a numeric field can be used for this parameter.

Field name already exists

An existing field in the Data Block cannot be overwritten.

Field not found: field-name

There is a reference to a field that does not exist in the datablock.

Function has incorrect number of params: function-value

You must specify the correct number of parameters for a function in dialog, as listed in the chapter Function Code List.

Group not found: group-name

There is a reference to a group that does not exist.

Group will not fit on panel: group-name

The size of an imported group is too large for the panel.

Invalid Dialog function: function-value

The dialog must contain only valid functions listed in the chapter Function Code List.

Invalid Dialog IF statement

The parameters of the IF statement in dialog are not compatible types.

Invalid Dialog key: key-value

The dialog must contain only valid keys listed in the chapter Programming.

Invalid Dialog parameter subscript: param-value
Invalid Dialog parameter type: param-value

The dialog parameter must be a valid type for this function, as listed in the chapter Function Code List.

Invalid Dialog procedure: proc-value

The procedure specified has not been defined in either the local or global dialog tables.

Invalid Event Key

Event keys in the dialog must be only valid keys as listed in the chapter Programming.

Invalid MOVE operands

The parameters for the MOVE function in dialog are not compatible types.

Invalid numeric literal

A numeric literal cannot be used for this parameter.

Maximum decimal length is 9

The decimal part of a numeric field cannot exceed nine digits.

Maximum field name length is 30

A field name cannot be longer than thirty characters.

Maximum group occurrence is 9999

A group cannot repeat more than 9999 times.

No border allowed for this panel

A minimum panel height of three lines and width of three characters is required for a border.

No group has been defined

Dialog or panel definition references a group item that has not been defined.

No select bar for group: group-name

The parameter for this function in dialog requires a group with a selection bar.

Numeric field must be 18

The maximum size of a numeric field, including its decimal part, is 18 digits.

Panel coordinates do not fit on screen

The panel does not fit on the screen. Change its coordinates.

Panel dimensions invalid: panel-name

This panel will not fit on the screen.

Panel name already exists

An existing panel in the Data Block cannot be overwritten.

Panel not found: panel-name

The dialog referneces a panel that does not exist.

Procedure not declared – Dialog flushed: proc-name

If a procedure is referenced that does not exist, the whole dialog table is invalid.

Select bar not found: group-name

The parameter for this function in dialog requires a group with a selection bar.

Text will not fit on panel

The text size is too large for the panel.

The previous dialog line was empty

A field with a decimal part must have an integer part.

This field has invalid format: field-name

A field must be a valid format as listed in the section Defining Panel Fields (F3) in the chapter Panel Fields.

This field has invalid position: field-name

A field must be positioned inside a panel.

This field has invalid properties: field-name

This field has been defined with properties that are valid only for an alphabetic or alphanumeric field.

This field has invalid size: field-name
This field has invalid usage: field-name

A field must be set to a usage listed in the section Defining Panel Fields (F3) in the chapter Panel Fields.

This validation is not possible for this field type

A particular field type allows only certain validation types. See the section Define Validation Details (F8) in the chapter Data Definition.

This group has invalid position: group-name

An imported panel group cannot overlap an existing group or field.

Fatal Errors

ACC-EXIT only applicable to Data groups

ACC-EXIT BAR (or END) can only be specified for data groups.

Error in allocating dynamic memory

Import was unable to open a heap. Try running Dialog System with more disk space or memory, if possible.

Error in opening file

The import file could not be accessed.

Field table is full

There is a maximum of 512 fields allowed in the Data Block.

INTENSITY/BLINK must be off/on

The INTENSITY and BLINK attributes can be set only to on or off.

Invalid border number

Valid borders are single, double or none.

Maximum literal value is 80

There is a maximum of 80 characters in a text literal.

The color is not supported

Valid colors are BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN and WHITE.

Unexpected end of import file

The file contains incomplete information.


Copyright © 2009 Micro Focus (IP) Ltd. All rights reserved.