7 14 CONDCHECK

LANSA Technical

7.14 CONDCHECK

The CONDCHECK command is used to check a field by evaluating a condition or expression.

Also See

7.14.1 CONDCHECK Parameters

7.14.2 CONDCHECK Comments / Warnings

7.14.3 CONDCHECK Examples

7.4 BEGINCHECK

7.7 CALLCHECK

7.16 DATECHECK

7.35 ENDCHECK

7.48 FILECHECK

7.78 RANGECHECK

7.99 VALUECHECK

                                                          Required

 

  CONDCHECK ---- FIELD -------- field name --------------------->

 

             >-- COND --------- condition ---------------------->

 

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

                                                         Optional

 

             >-- IF_TRUE ------ *NEXT -------------------------->

                                *ERROR

                                *ACCEPT

 

             >-- IF_FALSE ----- *ERROR ------------------------->

                                *NEXT

                                *ACCEPT

 

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

                                message text

 

             >-- MSGID -------- DCU0004 ------------------------>

                                message identifier

 

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

                                message file . library name

 

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

                              | expandable group expression     |

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