THIS DOES NOT WORK but it seems to be sending the right APDUs. The
evidence seems to be that Zebra is simply no-opping them.
if ($val eq "true") {
my $id = ZOOM_record_id($rs, $i);
print " DELETE $id";
- #my $p = $conn->package();
- #$p->option(action => "deleteRecord");
- #$p->option(recordIdOpaque => $id);
- #$p->send("update");
- #$p->destroy();
+ my $p = $conn->package();
+ $p->option(action => "deleteRecord");
+ $p->option(recordIdOpaque => $id);
+ $p->send("update");
+ $p->destroy();
}
print "\n";
}
+my $p = $conn->package();
+$p->send("commit");
+$p->destroy();
+
sub ZOOM_record_id {
my($rs, $i) = @_;
# There is no standard way in Z39.50 to discover the opaque record