Does anyone know of any reason why a subroutine in REXX can do an 
allocation that gives RC=0 and then in the main routine an EXECIO fails 
(RC=20), and a FREE DDN(xxx) (where xxx is the same DDName from the alloc) 
fails saying that the DD is not allocated?

The subroutine is NOT using PROCEDURE, so things are not being hidden 
(where EXPOSE would be needed...).

Granted, I have "syscalls('ON)" and that environment exists. And if I 
hadn't done an ADDRESS "TSO" the EXECIO and FREE would fail with ye good 
ole +++ RC(-3) +++ (Command not found).

And I do know that the allocation worked, because 3.4 shows the file with 
all the attributes used on the allocate command.

Regards,
Steve Thompson

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to