|
We have a shell script that is using exported variables. Our .profile file is setting up the path correctly. It is also setting the ENV variable to execute a shell script that is exporting variables used in other shell scripts. If we start QSH from the command line with no parms, the shell script in the ENV variable executes, and our exported variables are available to the shell script that we run in QSH. However, if we call QSH passing the qualified path to the shell script we want to execute, it appears that the ENV script defined in our .profile is not being executed. There seems to be a difference in how QSH runs when running QSH without a parm interactively, and how it works when trying to run a shell script from a CL program. John McNeal CARE Development Work - 678-893-1739 Cell - 770-653-8121 Interactive page - jmcneal@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.