[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

296.0. "alexing I will go..." by AIWEST::MATTHEWS (San Diego, Ca. Fightertown, USA) Tue Aug 26 1986 16:43

	a previous note mentions the peculiarities of truncating
the lexical function f$users to f$u.  Here's a different one:
	
	write sys$output f$fao("!%U",f$y("system","name_to_number"))

yields:  [1,*]

and

	write sys$output f$fao("!%U",f$y("matthews","name_to_number"))
	
yields:  [100,50]  which is correct!
and yes, the reverse also works ( using number_to_name ).

Additional note:  

	Does this warrant a QAR?  Or am I being dense and missing something
obvious?  This lexical abnormality isn't documented.  How do submit a
QAR anyway?

>>>cameron  (8-}
T.RTitleUserPersonal
Name
DateLines
296.1Perhaps SYSTEM Is a Group IdentifierCLOSET::DYERDefine `Quality'Tue Aug 26 1986 17:5211
	    The first line yields [1,4] on my system (VMS V4.2).  It
	may be that a system manager has defined a SYSTEM identifier
	on your node, for all users in the [1,*] group.
	    To check, go into AUTHORIZE and try this:

		UAF> show/id system

	If it yields [1,*], there's nothing wrong with your lexical.
	(Another way to check would be to see if your system files
	have [SYSTEM,<something] as their owners.)
			<_Jym_>
296.2it's the lex nameAIWEST::MATTHEWSSan Diego, Ca. Fightertown, USAWed Aug 27 1986 01:118
    Jym,
    	sorry to mislead.  I am the system manager.  The curious thing
    was not the [1,*] but the fact that the lex I used was f$y(...)
    and not f$ident(...)...
    	checked the books and could find no reference to this.  what
    would the expanded lex name be?  ( f$yahoo() maybe? )
    
    >>>cameron
296.3F$Y()VAXUUM::DYERDefine `Quality'Wed Aug 27 1986 13:284
	    I didn't even notice that!
	    Checking around, it looks as if F$Y() doesn't expand into
	anything.  Hmm . . .
			<_Jym_>