7.10 CALLCHECK

Note: 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

                                                          Required

 

  CALLCHECK ---- FIELD -------- field name --------------------->

 

             >-- BY_CALLING --- program name . *LIBL ----------->

                                               library name

 

             >-- PROG_TYPE ---- program type ------------------->

 

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

                                                         Optional

 

             >-- ADD_PARM ----- additional parameters ---------->

                              | expandable group expression |    

                               ---------- 20 characters ----     

 

             >-- GOOD_RET ----- *NEXT -------------------------->

                                *ERROR

                                *ACCEPT

 

             >-- BAD_RET ------ *ERROR ------------------------->

                                *NEXT

                                *ACCEPT

 

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

                                message text

 

             >-- MSGID -------- DCU0005 ------------------------>

                                message identifier

 

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

                                message file . library name

 

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

                              | expandable group expression     |

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