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.
CL programs do not set the return code. The importance of consistency in naming seems all-too-often overlooked within IBM: I don’t think there’s any language that has implicit “return by reference”.
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! I don’t know much about the “Product Return Code”.
Attribute Scope and Thread Safety Table: Email Required, but never shown. I think that warning might apply to any of those return codes. Refer to the appropriate ILE-conforming language manual for possible values.
As such, coding that CL is not an option in v5r3.
%CHAR built-in function
Sign up prograkming log in Sign up using Google. Although the compiler may inadvertently set the Product RC when it returns since it’s written in C.
ILE C also sets one of the other return codes. CRPence 1, 6 Post as a guest Name. This page v6r11 about the Product Return Code along with a warning in the last bullet about how it might not be reliable.
The following, as the most likely method capable, documents nothing about the ability to change the Return Code: Sign up using Email and Password. I forgot that you wanted a program to set it.
However, you can retrieve the current value of the return code as set by another program in a CL program. The one I posted first just retrieves it.
IBM ILE CL NULL Pointer Support Added at Release V6R1 – United States
The return code is set by these programs before they return proyramming the programs that call them. Sign up using Facebook. Missing from the above list is CL compilers or CL; as well, any mention of DFU programs and the Sort Utility feature, which are both mentioned in the prior included doc reference.