Versions Compared

Key

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

7.10 CALLCHECK

Note
titleNote: Usage options

The CALLCHECK command is used to validate data by calling a program and optionally pass additional parameters to it as well as to then take appropriate action as determined by the return codes.

Portability Considerations

See Parameter PROG_TYPE.

Also See

7.10.1 CALLCHECK Parameters

7.10.2 CALLCHECK Comments / Warnings

7.10.3 CALLCHECK Examples

7.7 BEGINCHECK

7.17 CONDCHECK

7.19 DATECHECK

7.45 ENDCHECK

7.61 FILECHECK

7.102 RANGECHECK

7.128 VALUECHECK


Panel
bgColor#ffffcc

                                                                                        Required

  CALLCHECK

No Format
                                                         Required   CALLCHECK

----

FIELD

-----------

field

name

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

             >

                    >--

BY_CALLING

----

program

name

.

*LIBL

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

                                               library name              >-- PROG_TYPE


                                                                               library name

                   >-- PROG_TYPE -----

program

type

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

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

                                                         Optional              >--

-----
                                                                                           Optional

                  >-- ADD_PARM

-----

additional

parameters

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

                              | expandable group expression |                                    


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

20

characters

-----     

             >

                 >--

GOOD_RET

-----

*NEXT

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

                                *ERROR                                 *ACCEPT              >-- BAD_RET


                                                  *ERROR
                                                 *ACCEPT

                 >-- BAD_RET -------

*ERROR

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

                                *NEXT                                 *ACCEPT              >-- MSGTXT


                                                  *NEXT
                                                 *ACCEPT

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

*NONE

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

                                message text              >-- MSGID


                                                 message text

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

DCU0005

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

                                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

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