Thanks for your reply Carlos. I tried with my local system Can you please give me the steps to configure the LDAP in Cache.

Actually by using the code I will get the Size how to do that.
I want to implement in one routine.
This one is Separate Routine to find out.

Hi John Murray, Thanks for your update but that one is client system so it is not possible to upgrade the Cache from 2012 to 2014.

Cache for Windows (x86-64) 2012.2.1 (Build 705_0_15454) Wed Sep 9 2015 18:32:41 EDT

Sure,

%ZSTART
    S ^TRACE="ZSTART"
    S Path="C:\VARATHA\TestCreate.txt"
    O Path:"WNS":2
    E  U 0 W "File Not Open",!
    U Path W "TEST",!
    C Path
    Q 

Hi Dmitry and Tom, I have created a new routine in %sys namespace named it as %ZSTART simply set one Global in that routine but when i restart the system it wont be set.Can you please help me am struggling in last two days to proceed further

Thanks Jeffery,

   Is there any way to handle this via any settings?

Because we are using standard business service. We are not using any customized one like (OnProcessInput()).