Error message back to cmd.exe We have written an application that loads Excel and runs a macro and it runs on an HPC grid.  If the process fails for any reason, we would like for the &quot;Failed Message&quot; to show up in the Compute Cluster Job Manager screen.  Any idea how to have our application get this message returned to the Job Manager?  I see there is a cmd.exe the starts up our process on the server, but attempts to return messages to stdin, stdout and stderr were unsuccessful.  Returning a &quot;-1&quot; return code does make the job show up as failed in the Job Manager, but no message.  © 2009 Microsoft Corporation. All rights reserved.Thu, 25 Jun 2009 01:51:49 Z07b6e5ea-05ef-4c51-9a3a-35df647ba224http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224#07b6e5ea-05ef-4c51-9a3a-35df647ba224http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224#07b6e5ea-05ef-4c51-9a3a-35df647ba224lincolnmanhttp://social.microsoft.com/Profile/en-US/?user=lincolnmanError message back to cmd.exe We have written an application that loads Excel and runs a macro and it runs on an HPC grid.  If the process fails for any reason, we would like for the &quot;Failed Message&quot; to show up in the Compute Cluster Job Manager screen.  Any idea how to have our application get this message returned to the Job Manager?  I see there is a cmd.exe the starts up our process on the server, but attempts to return messages to stdin, stdout and stderr were unsuccessful.  Returning a &quot;-1&quot; return code does make the job show up as failed in the Job Manager, but no message.  Mon, 15 Dec 2008 14:41:01 Z2008-12-15T14:41:01Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224#253bd167-c9a3-4234-af21-d220d536fc0ahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224#253bd167-c9a3-4234-af21-d220d536fc0aFrankie Fenestrahttp://social.microsoft.com/Profile/en-US/?user=Frankie%20FenestraError message back to cmd.exe I need to know how you launch the job and it's task. It sounds like you are launching a job with a single task and want the error message returned somewhere. In general you need to provide both a /stdout and /stderr location for this imformation.<br><br>I created just such a job and even though my ipconfig command generated an error the message was sent to stdout, not stderr and the job console did not show the message. Care to share the macro that launches the app?<br><br>Let me know if this helps.<br><br>Frankie<br><br> <p style="margin:0in 0in 10pt"><font></font> </p>Wed, 31 Dec 2008 03:48:57 Z2008-12-31T03:48:57Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224#c35ca186-d1e2-49d2-b761-429df04acb19http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224#c35ca186-d1e2-49d2-b761-429df04acb19Don Patteehttp://social.microsoft.com/Profile/en-US/?user=Don%20PatteeError message back to cmd.exeSince there hasn't been any reply here I'm going to close the thread out. If there is a new question please start up a new thread and we'll take a look at it.Thu, 25 Jun 2009 01:51:41 Z2009-06-25T01:51:41Z