The %chown() function changes the owner-ID and group-ID of the file str to the values specified in owner and group respectively.
For Windows: Not Supported
var = %chown(str, owner, group)
if %chown("/tmp/ap.log", 2000, 0) < 0 then crt ’Cannot change owner’; stop end