Hi Gil,

It still starts at 10 which is the problem.  The program that spawns this tries 
to pass a socket file descriptor that happens to be fd 8, which is invalid.  If 
I make some tricks that cause the socket fd to be number 10, it works.

/Lindy

________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu>
Sent: Friday, November 22, 2024 11:14 AM
To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU>
Subject: Re: Question about tsocmd and file descriptors

EXTERNAL

On Fri, 22 Nov 2024 07:25:05 +0000, Lindy Mayfield  wrote:
>
>Does anyone know the reason when running tsocmd to start a Rexx program with 
>the BPXWRFD=YES environment variable set, the child process only inherits open 
>file descriptors 10-99?
>
Would BPXWRFD=number work better?
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect.checkpoint.com%2Fv2%2Fr01%2F___https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.4.0%3Ftopic%3Dscd-tsocmd-run-tsoe-command-from-shell-including-authorized-commands%2523tsonew__envartsocmd___.YzJ1OnNhc2luc3RpdHV0ZTpjOm86OWFjNzkyOGI5MmMzZDU5NTA5YjMwODRiOTAwMjIwYTk6Nzo2MGJhOmU0NTFmMmNkZGNiZmIyN2JjMWJmNGQzYzU4NzBjOTdkZGUxYjgyODQyZTFlYTBhZTZlNzFmZDcwYzMzNGMyZGY6cDpUOk4&data=05%7C02%7CLindy.Mayfield%40SAS.COM%7Cffaa2dfbdfb64eb8bbea08dd0ad61b4f%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C638678636887671745%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=zLr%2BC9GxCdxStC1QbE5jcTvJHNTcJLhqXrxHkV3sav4%3D&reserved=0<https://protect.checkpoint.com/v2/r01/___https://www.ibm.com/docs/en/zos/2.4.0?topic=scd-tsocmd-run-tsoe-command-from-shell-including-authorized-commands%23tsonew__envartsocmd___.YzJ1OnNhc2luc3RpdHV0ZTpjOm86OWFjNzkyOGI5MmMzZDU5NTA5YjMwODRiOTAwMjIwYTk6Nzo2MGJhOmU0NTFmMmNkZGNiZmIyN2JjMWJmNGQzYzU4NzBjOTdkZGUxYjgyODQyZTFlYTBhZTZlNzFmZDcwYzMzNGMyZGY6cDpUOk4>>
Specifying a numeric value in a REXX program before the TSO process is started 
causes the TSO process to inherit open file descriptors 10 through that numeric 
value. T

--
gil

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

----------------------------------------------------------------------
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