Re: Anybody knows this bug ?
Posted in 1996
Louis Lapointe wrote: > > Hi, > > We are actually testing Informix 4GL version 4.14 on our RISC 6000 > machine with AIX 4.1.1. Informix SE version is 5.01. > > We are experiencing bad crashes with some of our programs. It happens > when we call another program that returns a value. > > For example, > > function xyz() > define > l_var_run char(256) > > let l_var_run = "fglgo logname database program_name F 1 1 1 Y" > run l_var_run returning l_status > > F = French > 1 = add permission > 1 = modify permission > 1 = delete permission > Y = interpreted (as opposed to compiled) > > The called program will run normally but the calling program will > crash on the retunring statement. > > If we call a program without specifying "returning l_status", all goes > well. > > If youv've seen this and have a solution or workaround, I would > appreciate hearing about it. > > Thank you for your time > > I will be checking this group but you can also e-mail me at > laplo@vir.com > > Thanks again > > Louis Lapointe I have never had any luck in getting the "run ... returning ... " to work. I have always resorted to using a C function call that runs the command via "popen". Maybe Informix has fixed the problem in later releases of 4GL. HTH Atul.