If you're trying to do this in a trigger, there's also a couple of environment variables you can use:
CLEARCASE_XPN
CLEARCASE_BRTYPE
These can be found by searching the manpage for mktrtype.
You can also use 'em in Perl with the %ENV hash:
my $extended_path = $ENV{"CLEARCASE_XPN"};
HTH,
Garry