Problem:
The following error was occurring upon AMB program generation:
Error: Missing Ellipsis. Incomplete condition on line (391)
The AMB joblog showed the error coming from this line of code:
(WS-MONITOR-CONTROL-REC (1:2) = '\\*')
Solution:
The "Missing ellipsis" error was occurring because the following statement was not coded correctly:
IF (REGION-ID NOT = WS-MONITOR-REGION-ID) OR
(WS-MONITOR-CONTROL-REC (1:2) = '/*')
In order to continue a structure on subsequent lines, an ellipsis followed by a space (... ) must be inserted. Like this:
IF (REGION-ID NOT = WS-MONITOR-REGION-ID) OR
... (WS-MONITOR-CONTROL-REC (1:2) = '/*')
#MFDS
#EnterpriseDeveloper
