Connection ID

I need to know the connection ID of my session. I think this can be done by reading the Session table by filtering on Session.“User ID” = USERID and Session.‘My Session’ = TRUE. But I would like to know if there is a global system variable for the connection ID like we have USERID as the global system variable for User ID. Thanks. Pari Somasundaram

There is no system variable containing the connection ID, but the method you are suggesting will give you the correct value. By the way, I think a filter on user id won’t be necessary. Kind regards, Jan Hoek Weha Automatisering BV Woerden - The Netherlands