Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  Found Entries |  All
Print Page as PDF
Global: ^BGUSEC

Package: GUI Generic Tools

Global: ^BGUSEC


Information

FileMan FileNo FileMan Filename Package
90062.1 BGU SIGN-ON STATISTICS GUI Generic Tools

Description

Directly Accessed By Routines, Total: 3

Package Total Routines
GUI Generic Tools 3 BGUGUTL    BGUPURGE    BGUTCPH    

Accessed By FileMan Db Calls, Total: 2

Package Total Routines
GUI Generic Tools 2 BGUGUTL    BGUPURGE    

Pointer To FileMan Files, Total: 1

Package Total FileMan Files
Kernel 1 NEW PERSON(#200)[.01]    

Fields, Total: 13

Field # Name Loc Type Details
.001 DATE/TIME DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 30, 1992
  • HELP-PROMPT:  Enter date and time.
  • DESCRIPTION:  
    This is the date/time that the user signed on.
.01 USER 0;1 POINTER TO NEW PERSON FILE (#200)
************************REQUIRED FIELD************************
NEW PERSON(#200)

  • LAST EDITED:  JUN 18, 1991
  • DESCRIPTION:  
    This is the user that signed on.
    SOURCE OF DATA:   SIGN-ON SYSTEM
  • CROSS-REFERENCE:  90062.1^CUR
    1)= S ^BGUSEC("CUR",$E(X,1,30),DA)=""
    2)= K ^BGUSEC("CUR",$E(X,1,30),DA)
1 DEVICE $I 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
  • HELP-PROMPT:  $I VALUE AT SIGN-ON
  • DESCRIPTION:  
    This is the device that the user signed on to.
2 JOB 0;3 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<0)!(X?.E1"."1N.N) X
  • HELP-PROMPT:  $J (PARTITION NUMBER) OF SIGN-ON
  • DESCRIPTION:  
    This is the job number of the user's job.
3 SIGNOFF TIME 0;4 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 30, 1992
  • HELP-PROMPT:  Enter Date and Time
  • DESCRIPTION:  
    This is the time that the user signed-off through H^XUS.
  • CROSS-REFERENCE:  90062.1^AC^MUMPS
    1)= K ^BGUSEC("CUR",+^BGUSEC(DA,0),DA)
    2)= Q
    3)= The CUR x-ref.
    This X-ref clears ^BGUSEC('CUR' that keeps a list of user sign-ons that is used by the FIND USER option.
4 NODE NAME 0;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  MAY 26, 1996
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the IP name of the user signed on.
  • TECHNICAL DESCR:  
    This parameter is passed from the BGUSYNC OCX.
5 SOCKET 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>8!($L(X)<1) X
  • LAST EDITED:  MAY 26, 1996
  • HELP-PROMPT:  Answer must be 1-8 characters in length.
  • DESCRIPTION:  
    This is the socket number passed from the BGUSYNC OCX to the server.  The socket is unique to the session.
  • TECHNICAL DESCR:  
    The socket is established from a port address and IP address of the client and IP address and port of the server.  This pair is unique to the entire world and assures that the partition is a unique user.
6 ETHERNET ADDRESS 0;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>18!($L(X)<1) X
  • LAST EDITED:  MAY 26, 1996
  • HELP-PROMPT:  Answer must be 1-18 characters in length.
  • DESCRIPTION:  
    This is the physical ethernet address of the client and is passed from the BGUSYNC OCX at the security call.
  • TECHNICAL DESCR:  
    The physical ethernet card is unique to the world and is set by the vendor at time of manufacture.
7 APPLICATION ID 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  MAY 26, 1996
  • HELP-PROMPT:  Answer must be 3-30 characters in length.
  • DESCRIPTION:  
    The client application should call the BGUSYNC OCX property IHSApplicationID to pass the current application ID and version number.
  • TECHNICAL DESCR:  
    If the client application does not call the BGUSYNC OCX property, there will be no data passed.
10 PARAMETER 0;10 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  MAY 26, 1996
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the SecurityParam passed from the BGUSYNC OCX.  It is a special free text param that is reserved for future use.
  • TECHNICAL DESCR:  
    This is created by calling the BGUSYNC OCX property SecurityParam and is additional data passed by the client at the security sign-on.
20 CALL STATISTICS 20;0 Multiple #90062.11 90062.11

  • DESCRIPTION:  
    This is a multiple and contains each of the calls made during the session.  These message headers are found in the REMOTE PROCEDURE FILE.
  • TECHNICAL DESCR:  
    This field is created if the BGU SITE PARAMETER field SECURITY is answered Yes.
97 ELAPSED TIME (SECONDS) COMPUTED

  • MUMPS CODE:  X ^DD(90062.1,97,9.2) S X1=Y(90062.1,97,1) S X=$S(X&X1:X,1:"") Q:'X D H^%DTC S XUS1=%H*86400+%T,X=X1 D H^%DTC S XUS2=%H*86400+%T,X=$S(XUS1>XUS2:XUS1-XUS2,1:XUS2-XUS1)
    9.2 = S Y(90062.1,97,2)=$S($D(^BGUSEC(D0,0)):^(0),1:"") S X=$S('$D(D0):"",D0<0:"",1:D0),Y(90062.1,97,1)=X S X=$P(Y(90062.1,97,2),U,4)
  • ALGORITHM:  XUDELTATIME(#.001,#3)
  • DESCRIPTION:  
    This field calculates the number of seconds between sign-on time and sign-off time.
99 ELAPSED TIME (MINUTES) COMPUTED

  • MUMPS CODE:  S X1=$P(^BGUSEC(D0,0),U,4),X="" Q:X1<2000000 S X=D0,Y=$E(X1_"000",9,10)-$E(X_"000",9,10)*60+$E(X1_"00000",11,12)-$E(X_"00000",11,12),X2=X,X=$P(X,".",1)'=$P(X1,".",1) D ^%DTC:X S X=X*1440+Y
  • ALGORITHM:  MINUTES(#3,#.001)
  • DESCRIPTION:  
    This is the amount of time the user has been signed on.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  Found Entries |  All