Re: 4GL: Session Id for program
Posted in 1998
SH
Haven't tried it myself with 4GL, but if you have IDS 7.2 or later (I
think, but it may be even earlier), you could use:
SELECT DBINFO('sessionid') INTO vSessionId
FROM systables
WHERE tabname = "systables";
where vSessionId is a 4gl program variable. It works in dbaccess.
HTH
Sujit Pal
______________________________ Reply Separator _________________________________
Subject: 4GL: Session Id for program
Author: "SH Lim" <sweehock@hotmail.com> at Internet
Date: 3/10/98 7:58 PM
Hi,
Is there a way to find out the current session-id for the 4GL
program that is running ? In my 4GL program, I want to assign the
session id for the program concatenated with userid for example for an
outpur file. This would uniquely define a filename which will be
removed.
Any recommendations on unique filenames conventions in 4GL output
files ?
Thanks.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com