Through the below IBM reference table I came to know
Return code Description
0 The environment block address provided in register 0 is an environment on the current task.
4 The environment block address provided in register 0 is an environment on a parent task.
8 The environment block address provided in register 0 is an environment in the address space, but not on the current or a parent task.
12 The environment block address provided in register 0 was not found in the address space. Parameter 6 contains the address of the current, non-reentrant environment block.
24 The environment table could not be located. The environment block address provided in register 0 could not be checked.
I there any way to get a return code 0 from IRXINIT?
I believe I have lost my way. Just for a quick question from my side, I believe you can explain it better.
When I called IRXINIT with 'FINDENVB' function something like call
Code:
IRXINIT('FINDENVB',' ',0,0,0,ADDR_ENVB,RC);
with exactly the same code as above. It gives me a return of RC=28. Which seems to be successful but there is no current non-reentrant environment.
I did not understand this message There is no current non-reentrant environment. what is meant by non-reentrant environment? All I know is entrant and re-entrant program from CICS, but this is something different
I have just started going through IRXINIT? but I did not find any relevant meterials on IRXINIT and neither on IRXLOAD. So have just coding it by myself