Session number against the session Id
I have a little question.
The predefined variable prog.name$ returns the current session number. Is there any way to get the session number against the session Id (PID)?
For example, I got the session Id of the parent session (using Parent), while processing in the child session. Now I need the session number against that session Id.
Thanks in advance.