7 99 VALUECHECK

LANSA Technical

7.99 VALUECHECK

The VALUECHECK command is used to check a field against one or more specific values.

Also See

7.99.1 VALUECHECK Parameters

7.99.2 VALUECHECK Examples

7.4 BEGINCHECK

7.7 CALLCHECK

7.14 CONDCHECK

7.16 DATECHECK

7.35 ENDCHECK

7.48 FILECHECK

7.78 RANGECHECK

                                                         Required

 

  VALUECHECK --- FIELD -------- field name --------------------->

 

             >-- WITH_LIST ---- compare value ------------------>

                             |                   |

                              ----- 50 max ------

 

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

                                                         Optional

 

             >-- IN_LIST ------ *NEXT -------------------------->

                                *ERROR

                                *ACCEPT

 

             >-- NOT_INLIST --- *ERROR ------------------------->

                                *NEXT

                                *ACCEPT

 

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

                                message text

 

             >-- MSGID -------- DCU0002 ------------------------>

                                message identifier

 

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

                                message file . library name

 

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

                              | expandable group expression |

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