Drafted, 11/02/01

Scripts for checking Handles:

/caartemp/handlestuff/checkreg/ on rs6

has 4 files:

checkHandle

checkloop

testbatch

and checkOut2

checkOut2 is the result of just running the check again on the same batch

of ids as yesterday. There are now 43 of the $u subfields in the American

Memory records (again, only looking at the first 856 per record) that

don't resolve correctly. My assumption is that these are cases where you

determined that it was the record that was wrong. They, of course won't

be fixed in OAI until the next time you pull records for American

Memory. I'm not certain where we are in the cycle.

The check uses 2 scripts, one of which calls the other. The assumption is

that you have a file of the form of testbatch (which has the last part of

your handles, the $d.$f part).

checkloop testbatch > checkOut

will loop through the list of IDs, construct a proxy handle using the

loc.gmd prefix and call checkHandle for each. Handles that are not found

will be "printed" and hence directed to checkOut in this case.

checkHandle checks whether the page returned includes the "handle not

found" string. [It also checks for that old in-process page, but since

you've fixed those and don't expect to use that mechanism again, that's

irrelevant.] checkHandle makes use of a perl library routine that is in

Dave's area on rs6. The script should work anywhere on rs6, but won't

elsewhere.

Feel free to copy the files. As I said, if you would like me to create a

variant that would start with a list of complete 856 fields or of $u

subfields, I'd be happy to do so. I just haven't had reason to do so yet

and have plenty to keep me busy.

Caroline Arms

PS Many thanks to Dave for helping me with the core of this.