#!/usr/local/bin/perl

use blib;
use strict;
use warnings;

use AFS::PTS;

die "Usage: $0 id\n" if $#ARGV != 0;

my $id = shift;

my $pts = AFS::PTS->new();
$AFS::CODE and print "AFS::CODE = $AFS::CODE\n";

my $pos = $pts->PR_WhereIsIt($id);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else            { print "Pos = $pos\n"; }
