On Thu, 22 Mar 2018 13:44:37 +0000, Pew, Curtis G wrote:
>
>I would have said that the exec type Unix functions were more like the MVS 
>XCTL macro. Doesn’t the new program inherit things like open file descriptors 
>from the current one? I think you’re right that the command will never return 
>to the COBOL code, though.
>
File descriptors, current working directory, user file mask, yes.  DDNAMEs, no.
Environment variables only if the list is explicitly passed as an argument to 
exec().

Blame fork() for the DDNAMEs.  Can't have contending ENQs in different  address 
spaces.

-- gil

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

Reply via email to