passing variable into shell script variable in 4gl program
Posted in 2004
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
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
Mustafa: This is a fragment of I code of 4gl own, I hope helps you: LET make_log = "echo ",user," ", today," ",time," articu ", v_art.art, " >> /home/nilda/altartic2.log" RUN make_log Any doubt that you have you do not have but that to ask to me. Greetings Javier Beluge. ----- Original Message ----- From: "mustafa sert" <msert@meteor.gov.tr> To: <ids@iiug.org> Sent: 10 March, 2004 11:08 AM Subject: passing variable into shell script variable in 4gl program [2644] > 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 >