Operating System - OpenVMS
1829163 Members
2669 Online
109986 Solutions
New Discussion

HP BASIC terminal ID & Username

 
Jay Frumkin
New Member

HP BASIC terminal ID & Username

Is it possible to access the username and/or terminal ID from HP Basic? If so, how? Thanks
2 REPLIES 2
Phillip Thayer
Esteemed Contributor

Re: HP BASIC terminal ID & Username

Jay,

You need to use the SYS$GETJPI and create an item list to get the information. The other way would be to use LIB$GETJPI once for each item that you want to get.

Phil.
Once it's in production it's all bugs after that.
J.M
New Member

Re: HP BASIC terminal ID & Username

Jay,

try attched source (tested on AXP V7.3-1).


Bye,

J.M