CL Programming

Return Code Summary

The return code (RTNCDE) parameter on the RTVJOBA command is a 5-digit decimal value with no decimal positions (12345. for example). The decimal value indicates the status of called programs. CL programs do not set the return code. However, you can retrieve the current value of the return code as set by another program in a CL program. You can do this by using the RTNCDE parameter of the RTVJOBA command.

The following list summarizes the return codes used by languages supported on OS/400:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]