LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 1 Jul 2005 11:50:39 -0700
Reply-To:     cassell.david@EPAMAIL.EPA.GOV
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "David L. Cassell" <cassell.david@EPAMAIL.EPA.GOV>
Subject:      Re: HI,How to show an error pop-up mesage when SAS program fails
In-Reply-To:  <200507010833.j618X7vq006272@listserv.cc.uga.edu>
Content-type: text/plain; charset=US-ASCII

Ravi M <ravi.manne@WIPRO.COM> wrote: > I have a SAS stored process program running in a web-browser. When the SAS > server is down or for any reason SAS program fails then I need to show a > pop-up error message "Run Time Error". > > Can you tell me how to achieve this using SAS code?

Unless you're running all this through SAS/IntrNet, you probably don't have a SAS problem here. (Not that SAS isn't part of the problem, but fixing the problem will be non-SAS.) If you're running everything through SAS/IntrNet, then you need to modify your code so that the Application Dispatcher checks whether the job succeeded, and directs the user to the appropriate error page.

If you're NOT using SAS/IntrNet, then you need to do the same re-direct yourself, in whatever language you're using for your web process. You should also think about preparing this re-direct for any SAS job which might run long enough to cause a time-out. You may evne want to start out with a webpage that says something like "Please wait while we process your SAS request." Then, if the job runs, you re-direct to a webpage with the output. and, if the job bombs, then you re-direct to a webpage with the error message.

HTH, David -- David Cassell, CSC Cassell.David@epa.gov Senior computing specialist mathematical statistician


Back to: Top of message | Previous page | Main SAS-L page