send value from one 4gl program to another 4gl pro
Posted in 2013
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi all, how can i send value from one 4gl program to another 4gl program some can send me sample code for the above Thanks
On 14/05/13 09:28, PUSHPA KUMARA wrote: > Hi all, > > how can i send value from one 4gl program to another 4gl program some can send > me sample code for the above > > Thanks It can be done in all sorts of ways. I guess you may start with qualifying how the first and second 4gl programs interact. Does the first run the second? You could pass the value in the 2nd program arguments. You could have a couple of pipes and one writes onto it, while the second reads from it (look for the fglio package in the IIUG software archives). Store the value in a table? Environmental variables? -- Ciao, Marco ______________________________________________________________________________ Marco Greco /UK /IBM Standard disclaimers apply! Structured Query Scripting Language http://www.4glworks.com/sqsl.htm 4glworks http://www.4glworks.com Informix on Linux http://www.4glworks.com/ifmxlinux.htm
Hi, thanks for the reply, i'm trying to collect data from program1 to program2 is it possible Thanks pushpa
Program that calls another 4gi program. let l_str_par = "fglgo prog1.4gi ",var1 Clipped," ",var2 Clipped," ",var3 Clipped Run l_str_par on the other program: Main Let parameter_1 = arg_val(1) # var1 Let parameter_2 = arg_val(2) # var2 Let parameter_3 = arg_val(3) # var3 End Main > To: ids@iiug.org > From: pushpa@cybersoft.lk > Subject: Re: send value from one 4gl program to another 4gl [30268] > Date: Tue, 14 May 2013 06:15:08 -0400 > > Hi, > > thanks for the reply, i'm trying to collect data from program1 to program2 is > it possible > > Thanks > pushpa > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. >