One example of use: call a classmethod in "SAMPLES" namespace
echo zn "SAMPLES" d $system.OBJ.ShowClasses("dhs") H |c:\CacheSys\bin\cache
-sc:\CacheSys\Mgr
Running a query:
echo zn "SAMPLES" d ##class(%ResultSet).RunQuery("Sample.Person", "ByName")
H|c:\CacheSys\bin\cache -sc:\CacheSys\Mgr
Regards
Mario
"Alexander Riemer" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Mario,
>
> I didn't find it in the docs either.
>
> Someone (I think Timur Safin) posted how to start
> a routine within cache.exe (cache.exe -s... -u... "tagname^Routine").
> But this way you can't pass parameters to the routine.
> So I tried to pipe commands and WHOA it works! :-)
>
> Bye
> Alex
>
> "Mario del Pozo" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> news:[EMAIL PROTECTED]
>> Hello Alexander,
>>
>> There's a place where I can find all parameters to cache.exe?
>> I've already seen at the documentation but no luck.
>>
>> Regards
>> Mario del Pozo
>>
>> "Alexander Riemer" <[EMAIL PROTECTED]> wrote in
>> news:[EMAIL PROTECTED]:
>>
>> > I would use cache.exe for that. You can write
>> > a routine or a class method and call it like this:
>> >
>> > echo Do ^^YourRoutine(YourParameter) H |c:\CacheSys\bin\cache.exe
>> > -sc:\CacheSys\mgr -uNameSpace
>
>