Back to SPR List Previous Next
Seven (or more) schema VALUE LABEL commands can confuse compiler
Minor Closed - Fixed Found:XS.01.12 29 JUL 2009 Fixed:XS.01.13 29 JUL 2009

DETAILS
 If a set of modify schema blocks containing seven or more VALUE LABEL commands, then the
 compiler can get confused when subsequent commands contain a number (eg STRING LENGTH
 32)

 4.30    STRING LENGTH   32
 String length is invalid - 32 assumed. (Error 70)

EXAMPLE PROGRAM
 RECORD SCHEMA   1  EMPLOYEE
 VALUE LABELS    GENDER                           (1)'Male'
 VALUE LABELS    GENDER                           (1)'Male'
 VALUE LABELS    GENDER                           (1)'Male'
 VALUE LABELS    GENDER                           (1)'Male'
 VALUE LABELS    GENDER                           (1)'Male'
 VALUE LABELS    GENDER                           (1)'Male'
 VALUE LABELS    GENDER                           (1)'Male'
 END SCHEMA
 STRING LENGTH   32
WORKAROUND
Reduce the number of VALUE LABEL commands , or don't run anything straight after a set of schema mods.
Back to SPR List Previous Next