Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.17 CONDCHECK

Note

Note: Usage options

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

Also See

7.17.1 CONDCHECK Parameters

7.17.2 CONDCHECK Comments / Warnings

7.17.3 CONDCHECK Examples

7.7 BEGINCHECK

7.10 CALLCHECK

7.19 DATECHECK

7.45 ENDCHECK

7.61 FILECHECK

7.102 RANGECHECK

7.128 VALUECHECK


Panel
bgColor#ffffcc

                                                                                                            Required

  CONDCHECK --

No Format
                                                         Required   CONDCHECK

----

FIELD

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

field

name

name --------------------------->

             >

                          >--

COND

-----------

condition

condition ----------------------------->

 

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

                                                         Optional              >-- IF_TRUE


                                                                                                          Optional

                         >-- IF_TRUE ----------

*NEXT

-------------------------------->

                                *ERROR                                 *ACCEPT              >-- IF_FALSE


                                                            *ERROR
                                                            *ACCEPT

                         >-- IF_FALSE ---------

*ERROR

------------------------------->

                                *NEXT                                 *ACCEPT              >-- MSGTXT


                                                            *NEXT
                                                           *ACCEPT

                         >-- MSGTXT ---------

*NONE

-------------------------------->

                                message text              >-- MSGID


                                                           message text

                         >-- MSGID ----------

DCU0004

DCU0004 ------------------------------>

                                message identifier              >-- MSGF


                                                          message identifier

                         >-- MSGF ----------

DC@M01

.

*LIBL

------------------------->

                                message file . library name              >-- MSGDTA


                                                         message file . library name

                         >-- MSGDTA ------

-

substitution

variables

variables --------------------|

                              | expandable group expression     |                                


                                                       |        expandable group expression           |
                                                        ----------------

20

max

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