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):||15 August 2006|
|PDF File Size:||10.62 Mb|
|ePub File Size:||4.82 Mb|
|Price:||Free* [*Free Regsitration Required]|
The return code indicates the completion status of the last program vv6r1 these types that has completed processing within the job, as follows: Attribute Scope proramming Thread Safety Table: The return code is a 5-digit decimal value with no decimal positions The decimal value indicates the status of called programs.
CL programs do not set the return code. However, you can retrieve the current programmming of the return code as set by another program in a CL program. 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.
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! 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 The ;rogramming, as the most likely method capable, documents nothing about the ability to change the Return Code: Refer prograamming the appropriate ILE-conforming language manual for possible values.
%CHAR built-in function in CL
CRPence 1, 6 I forgot that you wanted a program to set it. The one I posted first just retrieves it. Barbara Morris 1, 4 5.
The importance of consistency in naming seems all-too-often overlooked within IBM: As such, coding that CL is not an option in v5r3. I don’t think there’s any language that has implicit “return by reference”. My RPG version worked splendidly. I don’t know much about the “Product Return Code”.
Although the compiler may inadvertently set the Product RC when it returns since it’s written in C.
%CHAR built-in function
This page talks about the Product Return Code along with a warning in the last bullet about how it might not be reliable. I think that warning might proggamming to any of those return codes.
Sign up or log in Sign up using Google. Sign up ccl Facebook. Sign up using Email and Password. Post as a guest Name.