将查询结果发送给另一程序

您可使用关键字 PIPE 来将查询结果发送到另一程序,如下例所示:
OUTPUT TO PIPE more
   SELECT customer_num, call_dtime, call_code 
      FROM cust_calls;