Host function in SQL/Form 3.0?

From: <chiu_at_cc.nctu.edu.tw>
Date: 22 Oct 1994 14:24:56 GMT
Message-ID: <38b7bo$f0u_at_debbie.cc.nctu.edu.tw>


Hi,

  I'm confused about how to make use the HOST function in SQL/FORM 3.0. Is it possible I can tell the result executed by HOST. For example, I want to check whether some file exists and write:

  :system.message_level := 25;
  HOST('ls file', NO_SCREEN);
  IF ERROR_CODE <> 0 THEN

     .......
  END IF;
  Why doesn't it work?

  Also if I write my own program which returns 0 or -1 to represent success and failure and executed by HOST function, is it possible I can tell the result according to the value returned by my program. If yes, how can I do?

Thanks for your opinions!

Keny Chiu Received on Sat Oct 22 1994 - 15:24:56 CET

Original text of this message