File indexing completed on 2026-04-06 08:08:19
0001
0002
0003 use strict;
0004 use DBI;
0005
0006
0007 my $dbh = DBI->connect("dbi:ODBC:FileCatalog","") || die $DBI::error;
0008
0009 my $gettab = $dbh->prepare("SELECT DISTINCT runnumber FROM datasets WHERE dataset LIKE 'ana450_2024p009%' AND dsttype LIKE 'DST_CALO_run2pp' ORDER BY runnumber;");
0010 $gettab->execute();
0011
0012 my @row;
0013 while (@row = $gettab->fetchrow_array) {
0014 print join(", ", @row), "\n";
0015 }
0016
0017 $dbh->disconnect;