True, if you use “type python3” it CAN find it, but the success of that command 
depends on your $PATH already having the python directory listed in it.  If you 
don’t already know what the python3 directory is and have added it to your 
$PATH, the “type” command will not find it.

Of course if your friendly (FSVO “friendly”) sysprog has already put that 
directory into your $PATH via the /etc/profile script you are GTG.

Peter

From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
MANCINI Frédéric (80)
Sent: Friday, July 5, 2024 8:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: About Python and REXX


Hello,



To check if Python is available in the cli environment, go into OMVS,

either from ISPF (TSO OMVS) or through a SSH connection (if the sshd

server is running), and do



type python



It should return the complete PATH to the python executable.



------------------------------------------------------------------------

*De :* [mailto:Thomas] <Berg>

<00000619bfe39560-dmarc-requ...@listserv.ua.edu<mailto:00000619bfe39560-dmarc-requ...@listserv.ua.edu>>

*Envoyé :* jeudi 4 juillet 2024 à 00:02

*Pour :* IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>

*Objet :* About Python and REXX



> A question:

>

> * How do I check if Python is installed/availible in an existing z/OS?  (I 
> can't ask anyone for the moment due to an organisational mess at this site.)

>

> * Regarding REXX:

> - If performance is a priority and concern for the task I use a proper tool 
> delivered by IBM or third party vendor (the latter if portability is not 
> important).

> - If a proper tool is not avalible or usable and performance is a priority 
> etc for the task I code a COBOL or assembler program. But I very seldom have 
> had a need to do that, at least the latest 20 years or so.

> - If performance is NOT a priority I use REXX.

> - I would use langs like Python if they are as easy and fast to code as REXX. 
> If not they are irrellevant for me. And here portability may probably be a 
> concern.

> - I have never felt limited by REXX functionality in z/OS (other than 
> regarding performance sometimes, but then you can easily use tools from 
> REXX!).

>

>

> Thomas Berg

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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