The UIC is actually two words returned as a longword.  327686 in hex is
0x50006.
To do a real UIC format, split the longword and format each half in octal.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 01, 2000 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: Quadword conversion of UIC in VMS::User
> 
> 
> How do I convert the quadword returned for the UIC.
> Here is the snippet of code I am using to get the quadword:
> 
> use VMS::User;
> 
> $UserName = "DALEW"
> $uairef = VMS::User:user_info($UserName);
> $uic = $uairef->{UIC};
> print "UIC ==> ",$uic,"\n";
> 
> 
> My uic is [5,6], and this code returns:
> UIC ==> 327686
> 
> I want it to display the [5,6]
> 
> Thanks
> 
> Dale A. Whittemore
> Lockheed Martin EIS
> [EMAIL PROTECTED]
> 

Reply via email to