The variables set by the STAF Variable service are not persistent.  You 
could use the STAF LifeCycle service to save some STAF variables when STAF 
is shutdown and to set them when STAF is restarted.  Or, better yet, STAF 
provides an external Java service called the Namespace service which 
provides a namespace hierarchy for storing and retrieving a persistent 
repository of variables.  Unlike the VAR service, any variables set in a 
namespace will persist across stops and restarts of STAF with no 
additional steps required by the user.  See 
http://staf.sourceforge.net/getservices.php#Namespace for more information 
on this service, including the NameSpace Service User's Guide which talks 
about what it does and how to download and install it.

--------------------------------------------------------------
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:   01/15/2013 10:35 AM
Subject:        [staf-users] Staf VAR Service Variables



Hi,

Are the vars set by the variable service persistent? That is, does 
restarting staf make them go away?  

If they are persistent, i assume they would be kept in the data directory 
somewhere. Correct?  



-- 
Tks,
-Tennis 
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to