On Tue, 7 May 2024 11:33:21 +0000, Lars Höglund <lars.hogl...@alecta.se> wrote:
> An error has occurred in Rexx module: XMAIL
>     Error Type        : SYNTAX
>     Error Line Number : 299
>   Instruction       :   jobinfo = JOBINFO()
>   Return Code       : 44
>   Error Message text: Function did not return data

So, the error here is pure REXX and has nothing to do with the COBOL caller 
(except that maybe it didn't provide something in the argument that XMAIL 
expected, or didn't set up something in the environment that JOBINFO was 
looking for).

XMAIL called JOBINFO as a function, and JOBINFO didn't return data--not even a 
null value.  The main routine of JOBINFO must have an EXIT or RETURN 
instruction somewhere with no expression specified on it, or it reached the end 
of the exec without executing a RETURN or EXIT instruction at all.

¬R

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to