home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / informix / 3043 < prev    next >
Encoding:
Text File  |  1993-01-24  |  814 b   |  32 lines

  1. Newsgroups: comp.databases.informix
  2. Path: sparky!uunet!pipex!warwick!slxsys!dircon!uaa1006
  3. From: uaa1006@dircon.co.uk (Peter Miles)
  4. Subject: Catching output from RUN command (4GL)
  5. Date: Sun, 24 Jan 1993 13:34:36 GMT
  6. Message-ID: <C1D1pp.AA0@dircon.co.uk>
  7. Lines: 23
  8.  
  9.  
  10. Does anyone know if there is any way of capturing the output 
  11. of a command run by the 4GL RUN command into an Informix 4GL
  12. variable?
  13.  
  14. EG I want to say something like:
  15.  
  16. LET string=RUN "tail -1 /tmp/somefile"
  17.  
  18. The output I want to catch will always be only one line long.
  19. I'm running i4gl version 4 (standard engine).
  20.  
  21. Comments and suggestions gratefully received!
  22.  
  23. Please Email me, as my newsfeed seems to be a bit shakey at 
  24. the moment.
  25.  
  26. Thank you!
  27.  
  28.                         -- Pete
  29. -- 
  30. Pete Miles            uaa1006@dircon.co.uk
  31.                 ...uknet!dircon!uaa1006
  32.