M1 processor installation
The IBM ODBC DB2 driver functions only on MacOS x86_64 architecture.
Use the following steps to configure an M1 (or later architecture) processor to behave as MacOS x86_64 architecture so that it can communicate with the IBM ODBC DB2 driver.
Install Rosetta. Open a terminal window and issue the following command:
softwareupdate --install-rosetta --agree-to-license
~/.zshrcto contain the following syntax:
alias arm="env /usr/bin/arch -arm64 /bin/zsh --login"
alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"
Source the new file by issuing the following command:
Switch to the x86_64 architecture by issuing the following command:
Reinstall Zowe CLI.
After you complete these steps, do one of the following:
Important! You must issue the
intel command every time that you open a new terminal window to help ensure that Zowe CLI, Secure Credential Storage and the DB2 plug-in function properly on x86_64 architecture. Also, issue the command before you issue Zowe CLI commands.