On Thu, 1 Dec 2005 14:52:32 -0500 James G. Stracka said:
>Does anyone remember how an SVM can tell what id XAUTOLOGed it?
>
The XAUTOLOG command can pass parameters to the machine it auotlogs.
CP XAUTOLOG DATABASE #EXEC RS120X BY=FJH
In this example I want the DATABASE machine to EXEC RS120X.
I include in the option that the autolog was done by FJH.
The autologged machine can get this information with a simple Parse
Pull statement:
/* */
Parse Value(Diag(8,'Q V CONS')) With . . console .
If console = 'DISCONNECTED' Then Signal disconnected
Exit
disconnected:
Parse Pull xautolog_command 'BY=' who_autologed_me .
Say 'I was XAUTOLOGed by' who_autologed_me
If Left(xautolog_command,5) = 'EXEC '
Then xautolog_command
Exit
/Fran Hensler at Slippery Rock University of Pennsylvania USA
[EMAIL PROTECTED] +1.724.738.2153
"Yes, Virginia, there is a Slippery Rock"