15.21 Template Error Messages

The execution of certain Application Template Commands may result in error/warning messages being displayed. For further information refer to the Error Message Notes. The error will be one of these:

                                          

Error Code

Commands

Meaning

2

@@IF @@CMP_IDX

Command label specified on GOTO parameter is not found in this application template.

3

@@GOTO

Command label specified is not found in this application template.

4

@@CLR_LST

Index specified for list number is invalid.

5

@@SET_IDX @@INC_IDX @@DEC_IDX @@CMP_IDX

Only 999 indexes can be specified in an application template.

6

@@SET_IDX @@CMP_IDX

Invalid numeric value. The literal is not a valid numeric or the special @@ variable is  unknown in this template.

7

@@RTV_FLDS @@RTV_KEYS @@RTV_RELN

Index specified for file number is invalid.

8

@@RTV_FLDS @@RTV_KEYS @@RTV_RELN

File number specified is not known to this application template.

9

@@RTV_FLDS @@RTV_KEYS @@RTV_RELN

Index specified for list number is invalid.

10

@@RTV_FLDS @@RTV_KEYS @@RTV_RELN @@MRG_LSTS

List number specified is not known to this application template. An @@CLR_LST command has not been previously executed for this list number.

11

@@MRG_LSTS

Index specified for "into" list number is invalid.

12

@@MRG_LSTS

Index specified for "from" list number is invalid.

13

@@MAK_LSTS

Index specified for force list number is invalid.

14

@@MAK_LSTS

Index specified for "from" list number is invalid.

15

@@MAK_LSTS

Index specified for "to" list number is invalid.

16

RDML cmds

Index specified in @@INDEXii variable is invalid.

 

 

Error Message Notes

These messages will appear on the display of the application template command being executed e.g. DCM0793 is issued for an @@QUESTION message if the answer is not a valid reply according to the parameters on the @@QUESTION command.

If a fatal error occurs in the execution of an application template, then all RDML code generated by the application template so far will be backed out, and the execution of the application template will terminate. Error message DCM0794:

"Error occurred in application template tttttttttt at sequence no. nnnnn.nn - error code xxx"

will appear on the next LANSA screen to write out the message subfile. The sequence number in the application template is the command sequence number rather than the line number.