I enter USS using TSO OMVS

I have a c "Hello World"  which runs successfully in OMVS.
I recompile it,  with the -qASCII option...
If I execute it - it displays  çÁ%%?-ï?Ê%À-   which is the ASCII  of the
output.

If I then run python3 --version,  my little program prints hello world no
problem.

COLIN:/u/tmp/zos: >.*/cp4.so       *
çÁ%%?-ï?Ê%À-COLIN:/u/tmp/zos: >python3 --version
Python 3.8.5
COLIN:/u/tmp/zos: >.*/cp4.so   *
Hello World

I've done an export > name and compared the environments before and after
and they are the same.

What is Python doing to make it work... ( or to ask the opposite question)
and why does it not work before I invoke Python.   I thought that even
with  the -qascii option the program should work, as the printf uses the
ascii version.

I'm stumped on this one.

Colin

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

Reply via email to