Thanks!

On Tue, Mar 12, 2013 at 2:58 PM, Sharon Lucas <luc...@us.ibm.com> wrote:

> If a STAF service is not installed, submitting a request to that service
> will return RC 2 (Unknown service).  So, if you submit any request to the
> HTTP service and it returns RC 2, then you know that no service with the
> name HTTP is registered on that machine.  For example:
>
> C:\>STAF local HTTP HELP
> Error submitting request, RC: 2
> Additional info
> ---------------
> HTTP
>
> Another way is to submit a QUERY SERVICE request to the SERVICE service.
>  It will return RC 48 (Does not exist) if the service is not registered on
> that machine.  For example:
>
> C:\>STAF local SERVICE QUERY SERVICE HTTP
> Error submitting request, RC: 48
> Additional info
> ---------------
> HTTP
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin,   luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
>
> From:        Tennis Smith <tennis_sm...@yahoo.com>
> To:        staf-users@lists.sourceforge.net,
> Date:        03/12/2013 04:45 PM
> Subject:        [staf-users] Best Way To Detect Service Is Not Installed?
> ------------------------------
>
>
>
> Hi,
>
> I have a couple instances where the http service is needed, but may not be
> installed.  What's the best way to detect a service is not present?
>
> I assume "staf local help list service HTTP" would work. But is that the
> best method?
>
> --
> Tks,
> -Tennis
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>


-- 
Tks,
-Tennis
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to