[Info-vax] Reading SYSUAF with DCL problem

Paul Sture nospam at sture.ch
Wed May 9 05:25:27 EDT 2018


On 2018-05-09, fredthebare at gmail.com <fredthebare at gmail.com> wrote:
> On Wednesday, May 9, 2018 at 5:12:10 PM UTC+10, Volker Halle wrote:
>> From SYS$LIBRARY:LIB.REQ:
>> 
>> !*** MODULE $UAFDEF ***
>> ! ++
>> !  User authorization file format
>> !  Note: With the exception of the username and account name,
>> !  all strings are blank padded counted strings. Username and
>> !  account name are uncounted, blank padded.
>> ! --
>> 
>> So the first byte in the UAF$T_OWNER field is the string size. The
>> owner string itself begins at the 2nd Byte.
>> 
>> $ owner=f$extr(85,31,rec)    ! obtain string portion from counted string 
>> 
>> Volker.
>
> Thanks!  I wonder why some UAF$T_OWNER starting at 84 are the correct
> ASCII character for the "real" owner name?

Has someone else in the past also forgotten the byte count when
updating the field?

-- 
Forget "Thinking outside The Box". What we should be doing is thinking
outside the funnel we are being forced into.



More information about the Info-vax mailing list