Skip to main content
I am having trouble getting the Miniconda environment working without breaking BPXBATCH.

I have a sample BPXBATCH job:
//BPXBATCH EXEC PGM=BPXBATCH,REGION=512M,PARM='sh java -version'
//STDENV DD *
//SYSOUT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*

If I follow the Miniconda instructions for login shell of /bin/sh, the program specified in the BPXBATCH parm is not executed.

If I change the login shell to bash, and add conda.sh to .profile, the program is executed (i.e. attempted)  but the PATH etc. is not set. It appears that bash does not execute .profile when invoked from BPXBATCH.

(This may be a bash problem rather than Miniconda.)

Any suggestions about how to get this working without breaking BPXBATCH?

Thanks

Andrew Rowley

------------------------------
Andrew Rowley
Self Registered
Ballarat AU
------------------------------