Oh, if you prefer object syntax then try:
Write $System.Process.%ExistsId("P3516")
You can have much more information about
processes with the %SYSTEM.Process class.
Bye
Alexander Riemer
BEWIDATA
"Alexander Riemer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]
> Fabio,
>
> there is a Structured System Variable called ^$Job.
> You can test if a job still exists with $Data(^$Job(ID))
>
> Alexander Riemer
> BEWIDATA
>
> "Fabio" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]
> > Is there a way I can know if a session ID still exists? Like, I have a table
> > keyed by session id, query name and page number, and I want to remove those
> > rows where the session id is no longer valid.
> >
> > Does anybody know a way to solve this?
> >
> >
> > Fabio
> >
> >
> >
> > "Bill McCormick" <[EMAIL PROTECTED]> escreveu na mensagem
> > news:[EMAIL PROTECTED]
> > > This is not 100% true. You can define a class and then map the global to
> > > Cachetemp. When Cache is restarted the cachetemp database is cleaned so
> > > you can get that behavior. We don't have the concept of a table tied to
> > > a "user" session but you could implement logic to handle it in %ZSTART
> > > and %ZHALT
> > >
> > > Markus DeFreitas wrote:
> > > > Hi Folks,
> > > >
> > > > just reading in the docs for cache 5.0.something (4 i think) it says
> > that
> > > > Cach� doesnt support Temporary tables (e.g. tables that will only exist
> > for
> > > > the duration of the session, or tables that will be erased on cach�
> > > > restart). Does anyone know if this will be chaning in the near (5.1)
> > future?
> > > >
> > > > Thanking you
> > > >
> > > >
> > >
> >
> >
>
>