Thanks Scott!
Continuing on...
John
<snip>
John,
PATH is a variable that QShell uses to locate programs. It is similar to
the *LIBL that we are familiar with, except for a few details:
1) It is a list of IFS directories separated by colons.
2) There is no error if an invalid directory is in the PATH variable
(EDTLIBL/CHGLIBL would give an error about a bad library)
3) it is only used to find program objects to run (not used for files,
etc, like *LIBL is).
That line of the script adds the /usr/local/bin directory to the end of
the PATH. ($PATH inserts the existing value of PATH, then we add a
colon, and the /usr/local/bin directory to the end). That means that
this /usr/local/bin directory will now be included in the search for
program names (only until the QSH command ends.)
-SK
On 12/10/2015 11:45 PM, JRusling@xxxxxxxxxxx wrote:
Arrggh when i say first line i mean this one
cmd = 'QSH CMD(''export PATH=$PATH:/usr/local/bin +
</snip>
John Rusling
Senior Developer/Analyst
Quadion LLC
Minnesota Rubber & Plastics
952.927.1419
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.
As an Amazon Associate we earn from qualifying purchases.