Skip to main content

I'm getting af 0C4 abend when trying to install miniconda using OMVS

I surely would like to get a hint to a solution ;-) 

This is the OMVS dialog

IBM is a registered trademark of the IBM Corp.

Æ export _BPXK_AUTOCVT=ON
Æ export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
Æ cd /usr/lpp/mico
Æ ls
appdev_manifest_1.2.txt miniconda-zos-2.0-2022-01-17.run
Æ ./miniconda-zos-2.0-2022-01-17.run --path /usr/lpp/mico/ins
********************************************************************************
* Miniconda installation script is starting at 2022.08.11 12:36:42...
********************************************************************************
Installing Miniconda distribution to '/usr/lpp/mico/ins'. Continue? ÝY/n¨



Licensee may not use or authorize others to use the Program if failure of the
--More--


Do you accept the license terms? Ýy/n¨ Please specify yes or no
Do you accept the license terms? Ýy/n¨
===> y

Do you accept the license terms? Ýy/n¨ y
The license agreement can later be accessed for review at the following path:
/usr/lpp/mico/ins/IBM_LICENSE.txt

Please, press ENTER to continue
>>>

>>>
Checking available space in /usr/lpp/mico/ins ... 1389 MB ... OK
Moving out sensitive files and directories...
Extracting packages from distribution...

Installing packages...
PREFIX=/Z24/usr/lpp/mico/ins
installing: preconda ...
installing: anaconda-client-1.7.2-py39_1 ...
installing: asn1crypto-0.24.0-py39_0 ...
installing: autotag-0.5-10 ...
installing: bash-4.3.48-2 ...
installing: beautifulsoup4-4.6.0-py39_0 ...
installing: bzip2-1.0.6-6 ...
installing: certifi-2021.5.30-py39_0 ...
installing: cffi-1.14.0-py39_12 ...
installing: chardet-3.0.4-py39_0 ...
installing: click-6.7-py39_2 ...
installing: clyent-1.2.1-py39_0 ...
installing: conda-4.5.8-py39_14 ...
Installation failed.
Æ Æ
===>



From z/OS SYSLOG:

IEA995I SYMPTOM DUMP OUTPUT 740
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
TIME=12.38.35 SEQ=00487 CPU=0000 ASID=0084
PSW AT TIME OF ERROR 078D1001 91F51806 ILC 6 INTC 11
ACTIVE MODULE ADDRESS=00000000_11F43000 OFFSET=0000E806
NAME=SPECIALNAME
61E9F2F4 61A4A299 61939797 61948983 */Z24/usr/lpp/mic*
96618995 A2618289 956182A9 8997F2 *o/ins/bin/bzip2 *
DATA AT PSW 11F51800 - E310D088 0024E3D0 10800024
GR 0: 00A00000 1: 7FFFF000
2: 113FCB08 3: 113FCB08
4: 00000000 5: 03FA3000
6: 0E7C75C8 7: 7F512200
8: 00000000 9: 7F5131FF
A: 7F5141FE B: 7F59DA74
C: 04AE0C98 D: 00016F68
E: 0000030B F: 00000004
END OF SYMPTOM DUMP
BPXP018I THREAD 11CAD00000000000, IN PROCESS 67175641, ENDED 741
WITHOUT BEING UNDUBBED WITH COMPLETION CODE 940C4000
, AND REASON CODE 00000011.



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

I'm getting af 0C4 abend when trying to install miniconda using OMVS

I surely would like to get a hint to a solution ;-) 

This is the OMVS dialog

IBM is a registered trademark of the IBM Corp.

Æ export _BPXK_AUTOCVT=ON
Æ export _CEE_RUNOPTS='FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)'
Æ cd /usr/lpp/mico
Æ ls
appdev_manifest_1.2.txt miniconda-zos-2.0-2022-01-17.run
Æ ./miniconda-zos-2.0-2022-01-17.run --path /usr/lpp/mico/ins
********************************************************************************
* Miniconda installation script is starting at 2022.08.11 12:36:42...
********************************************************************************
Installing Miniconda distribution to '/usr/lpp/mico/ins'. Continue? ÝY/n¨



Licensee may not use or authorize others to use the Program if failure of the
--More--


Do you accept the license terms? Ýy/n¨ Please specify yes or no
Do you accept the license terms? Ýy/n¨
===> y

Do you accept the license terms? Ýy/n¨ y
The license agreement can later be accessed for review at the following path:
/usr/lpp/mico/ins/IBM_LICENSE.txt

Please, press ENTER to continue
>>>

>>>
Checking available space in /usr/lpp/mico/ins ... 1389 MB ... OK
Moving out sensitive files and directories...
Extracting packages from distribution...

Installing packages...
PREFIX=/Z24/usr/lpp/mico/ins
installing: preconda ...
installing: anaconda-client-1.7.2-py39_1 ...
installing: asn1crypto-0.24.0-py39_0 ...
installing: autotag-0.5-10 ...
installing: bash-4.3.48-2 ...
installing: beautifulsoup4-4.6.0-py39_0 ...
installing: bzip2-1.0.6-6 ...
installing: certifi-2021.5.30-py39_0 ...
installing: cffi-1.14.0-py39_12 ...
installing: chardet-3.0.4-py39_0 ...
installing: click-6.7-py39_2 ...
installing: clyent-1.2.1-py39_0 ...
installing: conda-4.5.8-py39_14 ...
Installation failed.
Æ Æ
===>



From z/OS SYSLOG:

IEA995I SYMPTOM DUMP OUTPUT 740
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
TIME=12.38.35 SEQ=00487 CPU=0000 ASID=0084
PSW AT TIME OF ERROR 078D1001 91F51806 ILC 6 INTC 11
ACTIVE MODULE ADDRESS=00000000_11F43000 OFFSET=0000E806
NAME=SPECIALNAME
61E9F2F4 61A4A299 61939797 61948983 */Z24/usr/lpp/mic*
96618995 A2618289 956182A9 8997F2 *o/ins/bin/bzip2 *
DATA AT PSW 11F51800 - E310D088 0024E3D0 10800024
GR 0: 00A00000 1: 7FFFF000
2: 113FCB08 3: 113FCB08
4: 00000000 5: 03FA3000
6: 0E7C75C8 7: 7F512200
8: 00000000 9: 7F5131FF
A: 7F5141FE B: 7F59DA74
C: 04AE0C98 D: 00016F68
E: 0000030B F: 00000004
END OF SYMPTOM DUMP
BPXP018I THREAD 11CAD00000000000, IN PROCESS 67175641, ENDED 741
WITHOUT BEING UNDUBBED WITH COMPLETION CODE 940C4000
, AND REASON CODE 00000011.



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

Hi Søren Arnvig,

You need to increase TSO REGION  "Size ===> " on the logon page. It should be higher than the size of the installer.
BTW, using ssh terminals (e.g. PuTTY) is preferable to OMVS.

Thanks,
Alexander

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Hi Søren Arnvig,

You need to increase TSO REGION  "Size ===> " on the logon page. It should be higher than the size of the installer.
BTW, using ssh terminals (e.g. PuTTY) is preferable to OMVS.

Thanks,
Alexander

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Alexander

Thnx for the swift answer. :-) 

My region is 64K , what is the recommended region size ?



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

Hi Alexander

Thnx for the swift answer. :-) 

My region is 64K , what is the recommended region size ?



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
As I said it must be higher than size of installer, when you ran some  script in omvs it all goes to the RAM.
Installer size ~96MB, so try 100000 region size

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
As I said it must be higher than size of installer, when you ran some  script in omvs it all goes to the RAM.
Installer size ~96MB, so try 100000 region size

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Alexander

I have tried running 200 MB and even 2 GB region size, but still failing at the same point

Checking available space in /Z24/usr/lpp/mico/ins ... 1389 MB ... OK
Moving out sensitive files and directories...
Extracting packages from distribution...
Installing packages...
PREFIX=/Z24/usr/lpp/mico/ins
installing: preconda ...
installing: anaconda-client-1.7.2-py39_1 ...
installing: asn1crypto-0.24.0-py39_0 ...
installing: autotag-0.5-10 ...
installing: bash-4.3.48-2 ...
installing: beautifulsoup4-4.6.0-py39_0 ...
installing: bzip2-1.0.6-6 ...
installing: certifi-2021.5.30-py39_0 ...
installing: cffi-1.14.0-py39_12 ...
installing: chardet-3.0.4-py39_0 ...
installing: click-6.7-py39_2 ...
installing: clyent-1.2.1-py39_0 ...
installing: conda-4.5.8-py39_14 ...
Installation failed.
Æ

IEA995I SYMPTOM DUMP OUTPUT 815
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
TIME=13.02.35 SEQ=00554 CPU=0000 ASID=0083
PSW AT TIME OF ERROR 078D1001 91F51806 ILC 6 INTC 11
ACTIVE MODULE ADDRESS=00000000_11F43000 OFFSET=0000E806
NAME=SPECIALNAME
61E9F2F4 61A4A299 61939797 61948983 */Z24/usr/lpp/mic*
96618995 A2618289 956182A9 8997F2 *o/ins/bin/bzip2 *
DATA AT PSW 11F51800 - E310D088 0024E3D0 10800024
GR 0: 00A00000 1: 7FFFF000
2: 113FBB08 3: 113FBB08
4: 00000000 5: 03F95000
6: 0E7A25C0 7: 7F50B200
8: 00000000 9: 7F50C1FF
A: 7F50D1FE B: 7F5B1A74
C: 04AE0C98 D: 00016F68
E: 0000030B F: 00000004
END OF SYMPTOM DUMP



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

Hi Alexander

I have tried running 200 MB and even 2 GB region size, but still failing at the same point

Checking available space in /Z24/usr/lpp/mico/ins ... 1389 MB ... OK
Moving out sensitive files and directories...
Extracting packages from distribution...
Installing packages...
PREFIX=/Z24/usr/lpp/mico/ins
installing: preconda ...
installing: anaconda-client-1.7.2-py39_1 ...
installing: asn1crypto-0.24.0-py39_0 ...
installing: autotag-0.5-10 ...
installing: bash-4.3.48-2 ...
installing: beautifulsoup4-4.6.0-py39_0 ...
installing: bzip2-1.0.6-6 ...
installing: certifi-2021.5.30-py39_0 ...
installing: cffi-1.14.0-py39_12 ...
installing: chardet-3.0.4-py39_0 ...
installing: click-6.7-py39_2 ...
installing: clyent-1.2.1-py39_0 ...
installing: conda-4.5.8-py39_14 ...
Installation failed.
Æ

IEA995I SYMPTOM DUMP OUTPUT 815
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
TIME=13.02.35 SEQ=00554 CPU=0000 ASID=0083
PSW AT TIME OF ERROR 078D1001 91F51806 ILC 6 INTC 11
ACTIVE MODULE ADDRESS=00000000_11F43000 OFFSET=0000E806
NAME=SPECIALNAME
61E9F2F4 61A4A299 61939797 61948983 */Z24/usr/lpp/mic*
96618995 A2618289 956182A9 8997F2 *o/ins/bin/bzip2 *
DATA AT PSW 11F51800 - E310D088 0024E3D0 10800024
GR 0: 00A00000 1: 7FFFF000
2: 113FBB08 3: 113FBB08
4: 00000000 5: 03F95000
6: 0E7A25C0 7: 7F50B200
8: 00000000 9: 7F50C1FF
A: 7F50D1FE B: 7F5B1A74
C: 04AE0C98 D: 00016F68
E: 0000030B F: 00000004
END OF SYMPTOM DUMP



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
This is really interesting and I have no idea why it's happening ...
Can you try the same in ssh terminal?

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
This is really interesting and I have no idea why it's happening ...
Can you try the same in ssh terminal?

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Hi Alexander

Thanx  for your effort, unfortunately I have no ssh terminal option at the moment.

I will try and figure out our next move.

It seems a long way round , to install a new terminal program,
just because the Miniconda installer, we need to install other Rocket Software
is abending for some unknown reason.

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
Hi Alexander

Thanx  for your effort, unfortunately I have no ssh terminal option at the moment.

I will try and figure out our next move.

It seems a long way round , to install a new terminal program,
just because the Miniconda installer, we need to install other Rocket Software
is abending for some unknown reason.

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

Hi Søren Arnvig,

Can you send the output of the following commands, please:
env | sort

ls -laT miniconda-zos-2.0-2022-01-17.run

Thanks,
Alexander



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Hi Søren Arnvig,

Can you send the output of the following commands, please:
env | sort

ls -laT miniconda-zos-2.0-2022-01-17.run

Thanks,
Alexander



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

HI Alexander 

Like this:

Æ cd /usr/lpp/mico
Æ ls -laT miniconda-zos-2.0-2022-01-17.run
b binary T=off -rwxrwxrwx 1 BPXROOT ZTUP8 100620275 Aug 10 11:09 mini
conda-zos-2.0-2022-01-17.run
Æ



------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

Hi Søren Arnvig,

Can you send the output of the following commands, please:
env | sort

ls -laT miniconda-zos-2.0-2022-01-17.run

Thanks,
Alexander



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
and the ENV

Æ env ! sort
COLUMNS=80
HOME=/u/osv3
LANG=C
LIBPATH=/lib:/usr/lib:.:/usr/lib:/usr/lpp/java/J8.0_64/lib
LINES=28
LOGNAME=OSV3
MAIL=/usr/mail/OSV3
MANPATH=/usr/man/%L
NLSPATH=/usr/lib/nls/msg/%L/%N
PATH=/bin:/usr/lpp/java/J8.0_64/bin:/usr/lpp/cicstg/ctg920/bin:/usr/lpp/smp/clas
ses
SHELL=/bin/sh
STEPLIB=none
TERM=dumb
TZ=CET-1CEST,M3.5.0/02:00:00,M10.5.0/02:00:00
_=/bin/env
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=YES
_BPX_SPAWN_SCRIPT=YES
_BPX_TERMPATH=OMVS
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
Æ

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
and the ENV

Æ env ! sort
COLUMNS=80
HOME=/u/osv3
LANG=C
LIBPATH=/lib:/usr/lib:.:/usr/lib:/usr/lpp/java/J8.0_64/lib
LINES=28
LOGNAME=OSV3
MAIL=/usr/mail/OSV3
MANPATH=/usr/man/%L
NLSPATH=/usr/lib/nls/msg/%L/%N
PATH=/bin:/usr/lpp/java/J8.0_64/bin:/usr/lpp/cicstg/ctg920/bin:/usr/lpp/smp/clas
ses
SHELL=/bin/sh
STEPLIB=none
TERM=dumb
TZ=CET-1CEST,M3.5.0/02:00:00,M10.5.0/02:00:00
_=/bin/env
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=YES
_BPX_SPAWN_SCRIPT=YES
_BPX_TERMPATH=OMVS
_CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)
Æ

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

Søren, could you please

unset _BPX_SHAREAS
and try again



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------

Søren, could you please

unset _BPX_SHAREAS
and try again



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Installation successful.

Thnx

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
Installation successful.

Thnx

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
Nice!
Thanks for finding

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Nice!
Thanks for finding

------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Last  (stoopid?) question: How to start Conda from OMVS ?

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------
Last  (stoopid?) question: How to start Conda from OMVS ?

------------------------------
Søren Arnvig
Specialist IT Drift / Mainframe
Topdanmark Edb II ApS
Ballerup DK
------------------------------

According to the zOS Miniconda Documentation.pdf:

Then use the next configuration:
Add the following lines to $HOME/.profile:
export _BPXK_AUTOCVT=ON
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
SHELL=<miniconda_installation_path>/bin/bash
exec $SHELL
Add the following line to $HOME/.bashrc:
. <miniconda_installation_path>/etc/profile.d/conda.sh
note the space after the dot

Restart OMVS and after that, you can use conda (conda info, conda create, etc)
Thanks



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------