![]() The return code is a 5-digit decimal value with no decimal positions (12345. Visiting the can be found some documentation for the use of that retrieved value an unlikely place, because the CL compilers apparently do not set the value, nor do CL procedures or programs:Ī return code can be returned using the Return code (RTNCDE) parameter on the Retrieve Job Attributes (RTVJOBA) command. The return code indicates the completion status of the last program (of these types) that has completed processing within the job, as follows:Īttribute Scope and Thread Safety Table: Attribute Scope Threadsafe The return code is set by these programs before they return to the programs that call them. Specifies the name of the CL variable that receives the 5-digit decimal return code of an RPG, COBOL, DFU, or sort utility program. The following documents that the Return Code (RTNCDE) value available from the Retrieve Job Attribute (RTVJOBA) command is returned as DECIMAL(5, 0) and later clarifies in the thread-safety information\table that the value is actually called the Program Return Code and that the value is not thread-safe, from which we can conclude safely that there is no thread-specific support for setting this value: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |