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.

Author: Fem Kigacage
Country: Samoa
Language: English (Spanish)
Genre: Music
Published (Last): 17 August 2011
Pages: 363
PDF File Size: 7.7 Mb
ePub File Size: 7.13 Mb
ISBN: 599-2-75546-937-3
Downloads: 35631
Price: Free* [*Free Regsitration Required]
Uploader: Dura

My RPG version worked splendidly.

IBM ILE CL NULL Pointer Support Added at Release V6R1 – United States

Post as a guest Name. Sign up using Facebook. This page talks about the Product Return Code along with a warning in the last bullet about how it might not be reliable. Sign up using Email and Password.

%CHAR built-in function

Refer to the appropriate ILE-conforming language manual for possible values. I don’t know much about the “Product Return Code”.

The following, as the most likely method capable, documents nothing about the ability to change the Return Code: By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.


I think that warning might apply to any of those return codes.

%CHAR built-in function in CL

CL programs do not set the return code. The one I posted first just retrieves it. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policy programmming, and our Terms of Service.

The return code is a 5-digit decimal value with no decimal positions The decimal value indicates the status of called programs. I don’t think there’s any language that has implicit “return by reference”. Attribute Scope and Thread Safety Table: Although the compiler may inadvertently set the Product RC when it returns since it’s written in C.

If nothing else [likely, as the most probable response will be the undesirable recommendation to “Write a program with system-state to modify the value Stack Overflow works best with JavaScript enabled. As such, coding that CL is not an option in v5r3.

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 programmming the completion status of the last program of these types that has completed processing within the job, as follows: However, you pprogramming retrieve the current value of the return code as set by another program in a CL program.


CRPence 1, 6 Sign up or log in Sign up using Google.

I forgot that you wanted a program to set it. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of prigramming website is subject to these policies. Barbara Morris 1, 4 5.

Email Required, but never shown. ILE C also sets one of the other return codes.

The importance of consistency in naming seems all-too-often overlooked within IBM: This field is scoped to the job and represents the most recent return code set by any thread within the job. 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. The return code is set by these programs before they return to the programs that call them.