Re: [U2] [UD] Returning data to ksh

2004-07-23 Thread Ralph Melia
Thanks guys. I ended up using a file based on the calling shell's PID. It works but thought there might be a more elegant solution. - Original Message - From: Ken Wallis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 22, 2004 10:10 PM Subject: RE: [U2] [UD] Returning data

RE: [U2] [UD] Returning data to ksh

2004-07-22 Thread Ken Wallis
Doyen Klein wrote: You could at the start of the shell write an 'in-process flag' (simply create file with a specific name). As the final step in the process, when completed successfully, delete that file. Then . If [exists(file)] - you know the process failed. You could also look at

[U2] [UD] Returning data to ksh

2004-07-21 Thread Ralph Melia
I'm working on a project that involves integrating our (UD 5.2 on AIX) programs into a job stream via ksh scripts. And I need a way of communicating back to the calling shell whether the unidata process (program) completed successfully or not. The relevent part of the shell would look something