Re: Host command

From: <Lance.Humpert_at_mail.tju.edu>
Date: 1996/08/08
Message-ID: <177DD71FC.ASVLH_at_TJUVM.TJU.EDU>#1/1


 

You might try defining a non-displayed character field long enough to hold your command, building the command using the concatenation operator, and then executing the 'host' command:  

  :COMMANDFLD := 'nohup my_process ' || :VARIABLE_1 || ' ' || :VARIABLE_2

                 ' ' || :VARIABLE_3 || ' 2>error.msg';
  HOST(:COMMANDFLD);   The above logic would invoke 'my_process' passing the character values contained in the VARIABLE_* fields as command line arguments. Just for kicks, standard error is redirected to an error message file.  

Hope this works for you...  

  • Lance
Received on Thu Aug 08 1996 - 00:00:00 CEST

Original text of this message