The simplest python program print(‘hello’) fails with 9.
JCL is:
//BPX EXEC PGM=BPXBATSL,
// PARM=‘PGM /C/Rocket/python36/bin/python /a/private_folder/test.py’
//*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//*
//STDENV DD *
PATH=$PATH:$HOME:/C/Rocket/python36/bin
PYTHON_HOME=/C/Rocket/python36
PYTHON_PATH=/C/Rocket/python36/lib/python3.6
LIBPATH=$LIBPATH:$PYTHON_HOME/lib
LANG=C
LC_ALL=en_US
TERM=xterm
_BPX_SHAREAS=YES
_BPX_BATCH_SPAWN=YES
_BPXK_AUTOCVT=“ON”
//*
STDERR contains some garbage:
…?..%…%…`…?>……?../…>?..?.>…?…?…%…>…
If I change BPXBATSL to BPXBATCH with sh instead of pgm in PARM, then job is successful, but I’m going to use DDNs in the future scripts. Is there any idea why the code fails and how to see normal letters?
Python 3.6.1