Skip to main content
Jun 24, 2021 2:34 PM UTC
Solved

Syntax error with miniconda-zos on zPDT

Hello!  When running miniconda-zos-1.2.1-2020-12-23.run on z/OS 2.4 via zPDT (mADCD) I'm getting the following syntax error:

```

IBMUSER:/S0W1/tmp: >./miniconda-zos-1.2.1-2020-12-23.run --path ~/miniconda/

./miniconda-zos-1.2.1-2020-12-23.run: line 53: syntax error near unexpected token `$'04360''

./miniconda-zos-1.2.1-2020-12-23.run: line 53: ``???0d(?'
```

```

ls -alT miniconda-zos-1.2.1-2020-12-23.run appdev_manifest_1.1.1.txt

t ISO8859-1   T=on  -rw-r--r--   1 OMVSKERN SYS1         659 Jun 24 13:52 appdev_manifest_1.1.1.txt

t ISO8859-1   T=on  -rwxr-xr-x   1 OMVSKERN SYS1     81071562 Jun 24 14:07 miniconda-zos-1.2.1-2020-12-23.run
```

Confirmed EBCDIC:

```

IBMUSER:/S0W1/tmp: >od -h -N 20 miniconda-zos-1.2.1-2020-12-23.run 

0000000000    7B  5A  61  82  89  95  61  A2  88  15  15  7B  40  81  93  93

0000000020    96  A6  A2  40

0000000024

```


Many thanks for any suggestions!
    Vladimir Ein
    Rocketeer
    Jun 24, 2021 4:00 PM UTC
    Hello!  When running miniconda-zos-1.2.1-2020-12-23.run on z/OS 2.4 via zPDT (mADCD) I'm getting the following syntax error:

    ```

    IBMUSER:/S0W1/tmp: >./miniconda-zos-1.2.1-2020-12-23.run --path ~/miniconda/

    ./miniconda-zos-1.2.1-2020-12-23.run: line 53: syntax error near unexpected token `$'04360''

    ./miniconda-zos-1.2.1-2020-12-23.run: line 53: ``???0d(?'
    ```

    ```

    ls -alT miniconda-zos-1.2.1-2020-12-23.run appdev_manifest_1.1.1.txt

    t ISO8859-1   T=on  -rw-r--r--   1 OMVSKERN SYS1         659 Jun 24 13:52 appdev_manifest_1.1.1.txt

    t ISO8859-1   T=on  -rwxr-xr-x   1 OMVSKERN SYS1     81071562 Jun 24 14:07 miniconda-zos-1.2.1-2020-12-23.run
    ```

    Confirmed EBCDIC:

    ```

    IBMUSER:/S0W1/tmp: >od -h -N 20 miniconda-zos-1.2.1-2020-12-23.run 

    0000000000    7B  5A  61  82  89  95  61  A2  88  15  15  7B  40  81  93  93

    0000000020    96  A6  A2  40

    0000000024

    ```


    Many thanks for any suggestions!
    Hello Brian,

    Looks like you need to tag your miniconda installer as EBCDIC:

    chtag -tc 1047 miniconda-zos-1.2.1-2020-12-23.run

    Regards,
    Vladimir

    1 reply

    Vladimir Ein
    Rocketeer
    Jun 24, 2021 4:00 PM UTC
    Hello!  When running miniconda-zos-1.2.1-2020-12-23.run on z/OS 2.4 via zPDT (mADCD) I'm getting the following syntax error:

    ```

    IBMUSER:/S0W1/tmp: >./miniconda-zos-1.2.1-2020-12-23.run --path ~/miniconda/

    ./miniconda-zos-1.2.1-2020-12-23.run: line 53: syntax error near unexpected token `$'04360''

    ./miniconda-zos-1.2.1-2020-12-23.run: line 53: ``???0d(?'
    ```

    ```

    ls -alT miniconda-zos-1.2.1-2020-12-23.run appdev_manifest_1.1.1.txt

    t ISO8859-1   T=on  -rw-r--r--   1 OMVSKERN SYS1         659 Jun 24 13:52 appdev_manifest_1.1.1.txt

    t ISO8859-1   T=on  -rwxr-xr-x   1 OMVSKERN SYS1     81071562 Jun 24 14:07 miniconda-zos-1.2.1-2020-12-23.run
    ```

    Confirmed EBCDIC:

    ```

    IBMUSER:/S0W1/tmp: >od -h -N 20 miniconda-zos-1.2.1-2020-12-23.run 

    0000000000    7B  5A  61  82  89  95  61  A2  88  15  15  7B  40  81  93  93

    0000000020    96  A6  A2  40

    0000000024

    ```


    Many thanks for any suggestions!
    Hello Brian,

    Looks like you need to tag your miniconda installer as EBCDIC:

    chtag -tc 1047 miniconda-zos-1.2.1-2020-12-23.run

    Regards,
    Vladimir