RE: System Calls in stored procedures SE 7.2
Posted in 2000
In article <8ckaoi$8v7$1@news.xmission.com>, Paul Watson <PWatson@Lastminute.com> wrote: > > system "echo blah" > > Paul Watson # > WFSoftware Ltd # If it was easy > Tel: +44 1436 674729 # everybody could > Fax: +44 1436 678693 # do it > www.wfsoftware.com/informix # > > -----Original Message----- > From: Kate Juliff [mailto:kcj@mechoshade.com] > Sent: Thursday, April 06, 2000 3:40 PM > To: informix-list@iiug.org > Subject: System Calls in stored procedures SE 7.2 > > I'm running SE 7.2 on AIX 4.3 > > I can created a stored procedure that makes a system call but cannot > give an argument to the system call. I have tried using the example in > the manual but it gives an error. > > Has any one been successful in doing something like this in a sp. > > system "echo" "blah" > > Kate ^^^^? Who's Paul? ;-) OK, here's how I would [try to] do it. LET command = "echo " || "Blah! This is awuful stuff!"; -- Obviously, you would build your command more flexibly" system command ; HTH -- +----- Jacob Salomon - ------------------------------------------------+ |------------------- Bulletin Board Announcement ----------------------| | Congregants will please note that the bowl at the back of the church | | bearing the sign "For the Sick" is for monetary contributions only. | +----------------------------------------------------------------------+ Sent via Deja.com http://www.deja.com/ Before you buy.