7 78 RANGECHECK

LANSA Technical

7.78 RANGECHECK

The RANGECHECK command is used to check a field against one or more ranges of values.

Also See

7.78.1 RANGECHECK Parameters

7.78.2 RANGECHECK Examples

7.4 BEGINCHECK

7.7 CALLCHECK

7.14 CONDCHECK

7.16 DATECHECK

7.35 ENDCHECK

7.48 FILECHECK

7.99 VALUECHECK

                                                         Required

 

  RANGECHECK --- FIELD -------- field name --------------------->

 

             >-- RANGE -------- low value -- high value -------->

                             |                           |

                              --------- 20 max ----------

 

 -----------------------------------------------------------------

                                                         Optional

 

             >-- IN_RANGE ----- *NEXT -------------------------->

                                *ERROR

                                *ACCEPT

 

             >-- OUT_RANGE ---- *ERROR ------------------------->

                                *NEXT

                                *ACCEPT

 

             >-- MSGTXT ------- *NONE -------------------------->

                                message text

 

             >-- MSGID -------- DCU0001 ------------------------>

                                message identifier

 

             >-- MSGF --------- DC@M01 . *LIBL ----------------->

                                message file . library name

 

             >-- MSGDTA ------- substitution variables ---------|

                               |expandable group expression |

                                --------- 20 max -----------