RUN and the shell
Posted in 1995
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration
I am using csh as my standard shell when invoking my 4gl programs (using fglgo and SE), when the RUN command is used it is picking up csh rather than sh as the shell to be used and thus a number of commands (specifically redirection of stderr to stdout) fail and I get an 'Ambiguos Output Redirect' message which does not occur if sh/ksh are used. Q. Is there a way to force the RUN command to use sh? An informix specific env setting perhaps? If not then I guess I'm stuck with setting SHELL prior to fglgo'ing and restting it afterwards. Cheers, Ian. Hoping for a cleaner solution, %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Ian Timms (DBA/Administrator) % Disclaimer: All opinions expressed % % itimms@vprp333q.prop.telecom.com.au % herein are mine and mine alone! % % Ph. 61+3+634-9144 % ==__( pretty piccy goes here )__== % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%