Re: Nested "fglgo"
Posted in 1996
>From: evelio.ml@vlc.servicom.es (Evelio Martinez) >Date: Sun, 15 Sep 96 17:52:16 GMT >X-Informix-List-Id: <news.28096> > >1) I am using an old version of INFORMIX-RDS 4... under SCO UNIX 3.2.5. The > size of .4gi is getting very big. I would like to know if there is a way to > avoid the "clear screen" that happen when you calla program from another > one, like: > > main > ... > run "fglgo ..." > ... > end main It depends on how old your old version is. If it is version 4.13 or earlier, then the answer is 'No'. If it follows that version, then yes. See the release notes (TOOLREL_4.14) for details of bug B26390 and use: RUN "fglgo ..." IN FORM MODE Reading the release notes is always a good idea. There are quite a lot of useful new features in the 4.14 release. >2) A parent process can communicate with its child through parameters. How can > communicate the child with its parent ? > One option could be through a file but it would be slow. > A second one would be to include the share memory functions (shmget, etc) > in the runtime. Do you think it's worth trying Shared memory? That's a sledge-hammer to crack a nut! Use tables in the database; not temporaries because only one process can access any given temporary table. Otherwise, you have those two options, plus messages, or any other IPC mechanism capable of communicating arbtitrary information (that rules out semaphores as the communication mechanism, unless you want to get really creative and extremely slow). Don't forget that with shared memory, you have to ensure that the processes are correctly synchronized (and maybe you will use semaphores for that). Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>