V6R1. Asked: March 13, AM Last updated: March 17, AM defined by source statements, similar to creating a CL or RPG program. With the exception of providing an ILE CL compiler in V3R1, very little about the operating .. that could be passed into a CL program, or passed out when the CL program called (or transferred V6R1 — CL Compiler (continued). • Support. Programming, CL, V6R1 CL: The Story Continues, Bruce Vining, os/, i5/os, IBM i, iseries, as/, system i, Control Language (CL), Declare.
|Published (Last):||11 March 2012|
|PDF File Size:||14.95 Mb|
|ePub File Size:||3.19 Mb|
|Price:||Free* [*Free Regsitration Required]|
OK, but only as returned by other programs and compilers, not what was the effective return code of the CL procedure or program I just called!
The return code is a 5-digit decimal value with no decimal positions Barbara Morris 1, 4 5. CL programs do not set the return code.
%CHAR built-in function in CL
Sign up or log in Sign up using Google. However, you can retrieve the current vl of the return code as set by another program in a CL program. Email Required, but never shown.
%CHAR built-in function
Refer to the appropriate ILE-conforming language manual for possible values. Progrwmming RPG version worked splendidly. The return code indicates the completion status of the last program of these types that has completed processing within the job, as follows: Attribute Scope and Thread Safety Table: The importance of consistency in naming seems all-too-often overlooked within IBM: The one I posted first just retrieves it.
This page talks about the Product Return Vr1 along with a warning in the last bullet about how it might not be reliable. Sign up using Facebook. Sign up using Email and Password. Although the compiler may inadvertently set the Product RC when it returns since it’s written in C.
The decimal value indicates the status of called programs. Post as a guest Name. I think that warning might apply to any of those return codes.
IBM ILE CL NULL Pointer Support Added at Release V6R1 – United States
The return code is set by these programs before they return to the programs that call them. ILE C also sets one of the other return codes.
As such, coding that CL is not an option in v5r3.