vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| get fglio from http://www.4glworks.com/misc.htm what you do the is open a pipe in read mode that executes your script. your script dumps in the standard output whatever it needs to pass to the 4gl app. the 4gl app reads from the pipe, parses whatever it needs to gather and saves it wherever you like. HTH Dirk Moolman wrote: > I am searching the net, but can't find an answer yet. > > > > How can I run a 4GL, that will run a Unix command, and then keep > > the result of the Unix command in a variable in the 4GL ? > > > > > > Example: > > > > Let's say I have a script that does a word count (wc) on a file. > > I want to run this script from a 4GL program, and then use the result > > of the word count in the 4GL. > > > > Should be simple, but I don't know how ... > > > > > > > > > > > > Dirk Moolman > > Database and Unix Administrator > > MXGROUP > > > > > > "People demand freedom of speech as a compensation for the freedom of > thought which they seldom use." > > -Kierkegaard > > > > > ------------------------------------------------------------------------ > << ella for Spam Control >> has removed 976 Spam messages and set aside > 515 Newsletters for me > You can use it too - and it?s FREE! www.ellaforspam.com > <http://www.ellaforspam.com> > -- Ciao, Marco __________________________________________________ ____________________________ Marco Greco /UK /IBM Standard disclaimers apply! Informix faq http://www.iiug.org/techinfo/faq/informix.htm 4glworks http://www.4glworks.com Informix on Linux http://www.4glworks.com/ifmxlinux.htm sending to informix-list |