The RTVLCRUN command is provided only for IBM i servers and can only be used inside a compiled Control Language (CL or CLLE) program.

LANSA Composer provides the RTVLCRUN command that allows a Control Language program to retrieve information about a completed processing sequence run, including the run number, result code and the values of output parameters.

This description provides the following information:

                                                         Optional


  RTVLCRUN --- RUNNBR ------- *PRV   ---------------------------->
                          |                                   |
                           -- run-number  --------------------

           >-- OUPNAM ------- *NONE  ---------------------------->
                          |                                   |
                           -- *ONLY  -------------------------
                          |                                   |
                           -- output-parameter-name  ---------

           >-- PARTITION -- partition identifier --------------->

           >-- RTNRUNNBR – cl-var-to-receive-run-number  ------->

           >-- RTNRESULT – cl-var-to-receive-result-code  ------>

          >-- RTNOUPVAL – cl-var-to-receive-parameter-value  --|