7 7 CALLCHECK

LANSA Technical

7.7 CALLCHECK

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.7.1 CALLCHECK Parameters

7.7.2 CALLCHECK Comments / Warnings

7.7.3 CALLCHECK Examples

7.4 BEGINCHECK

7.14 CONDCHECK

7.16 DATECHECK

7.35 ENDCHECK

7.48 FILECHECK

7.78 RANGECHECK

7.99 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 -----------------