#!/usr/local/bin/perl
use blib;
use strict;
use warnings;
use AFS::CM qw (setcellstatus);
die "Usage: $0 cell setuid\n" if ($#ARGV==-1);
my $cell = shift;
my $setuid = shift;
my $ok = setcellstatus($setuid, $cell);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else { printf("Command successfull: %s \n", $ok ? 'yes' : 'no'); }