It looks like /QOpenSys/pkgs/bin/ is not currently in your system PATH.

Do you see this error when trying your first Compile!

IBM i ERROR It looks like QOpenSys pkgs bin is not currently in your system PATH
Running Action: /QOpenSys/pkgs/bin/makei c -f {filename} (3:08:49 PM)
Working directory: /home/nicklitten/deploy
Commands:
/QOpenSys/pkgs/bin/makei c -f helloworld.rpgle

It looks like /QOpenSys/pkgs/bin/ is not currently in your system PATH.
This means that programs and tools installed in this directory may not be
easily accessible from the command line.


To add /QOpenSys/pkgs/bin/ to your system PATH (if it is not already present),
use the following command:

export PATH=$PATH:/QOpenSys/pkgs/bin

You can also add this command to your shell profile file
(e.g. ~/.bashrc or ~/.bash_profile) to make the change permanent.

This caused much head scratching for me, because I had already set the path in my .profile file in my home IFS folder. Each time I started the PASE shell and listed the $PATH it showed in the value.

But WAIT!

I finally realized (after more internet searches than I am comfortable admitting to) that

  • Use .bash_profile or .profile for setting environment variables that should be available to all shells and programs.
  • Use .bashrc for setting shell-specific settings, such as aliases and functions, that should be executed every time a new shell is started.

So, you just need to correctly set your .bash_profile and .bashrc

Follow the instructions here

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>