Re: passing variable into shell script variable in 4gl prog
Posted in 2004
To write to files in 4GL you can get any of several packages of 4GL io functions from the IIUG Software Repository. My package 4gltools_ak is one which provides many of the 'C' stream functions to 4GL including fopen, fclose, fflush, sprintf, snprintf, printf, and fprintf. Joe Huddleston's package cfuncts is another. Art S. Kagel ----- Original Message ----- From: Mustafa Sert <msert@meteor.gov.tr> At: 3/10 9:53 > hello, > I have a problem about writing the 4gl program output to a file. So that = > I want to use unix shell script commands -such as echo - into 4gl = > programs. > for example=20 > I have a 4gl program variables like=20 > mixyil mixay mixgun > how can I use these variables as=20 > let unix_cmd=3D"echo $mixyil - $mixay - $mixgun>>file1" > > or is there any other way to write 4gl program outputs into a file? > thanks. > mustafa sert