Fwd: Suggestions for "User" command.

Dave Snyder dave at wisvis.com
Wed Mar 2 14:09:26 PST 2011


----- Forwarded Message -----
| From: "Dave Snyder" <dave at wisvis.com>
| To: "Kenneth Brody" <kenbrody at spamcop.net>
| Sent: Wednesday, March 2, 2011 4:01:00 PM
| Subject: Re: Suggestions for "User" command.
| ----- Original Message -----
| | From: "Kenneth Brody" <kenbrody at spamcop.net>
| | To: "Dave Snyder" <dave at wisvis.com>
| | Cc: filepro-list at lists.celestial.com
| | Sent: Wednesday, March 2, 2011 3:44:46 PM
| | Subject: Re: Suggestions for "User" command.
| | On 3/2/2011 4:33 PM, Dave Snyder wrote:
| | [... Exiting a USER command ...]
| | >
| | > Anyone have any brilliant ideas for ending the external program
| | > besides my @keyX solution.
| | [...]
| |
| | Yes. When your program receives EOF on stdin, exit. No need for any
| | special "I need to tell the USER program that I'm exiting" logic.
| |
| | --
| | Kenneth Brody
 
 
I understand. But when I get to the next record (remember that I'm in
*clerk) and try to use the external program, I have a problem. I originally
thought that the

if not program
then user program = /appl/bin/ext-prog

logic would just start the external script again, but that doesn't
seem to be the case.

--
Dave Snyder


More information about the Filepro-list mailing list