Re: Skipping batch erroneous record on batch input
On Thu, Aug 05, 2004 at 08:32:32AM -0500, Anne Highsmith wrote: > How do I skip over the erroneous record and keep processing the rest of > the file? my $batch = MARC::Batch->new( 'USMARC', 'file.dat' ); $batch->strict_off(); //Ed
Skipping batch erroneous record on batch input
I am reading a series of MARC records in from a file, making a small change, and printing them out to a revised file. At the end of my program I get an error message: Invalid indicators " a[4],18,130,149-388,397-398,391-194,403-404,397-548,579-5 80,551-554,585-596,745-979,[1],980,[1],981,[1],982,[1],983-987,[1],988,[1],990,[ 1],992,992-1130p., e es :" forced to blanks in record 6980 for tag 300 By comparing input and output files, I find that my output file is stopping at record 6979, the one before the erroneous record. The input file actually has over 10,000 records. How do I skip over the erroneous record and keep processing the rest of the file? Anne L. Highsmith Consortia Systems Coordinator 5000 TAMU Evans Library Texas A&M University College Station, TX 77843-5000 [EMAIL PROTECTED] 979-862-4234 979-845-6238 (fax)
PINES software development website
All, Just wanted to share the URL for the website where we are posting all information about the efforts to develop an open source ILS here at PINES: http://www.open-ils.org The website is still in the initial building stages, but I hope some of the information that is already there is useful. We're adding content daily, so stay tuned. -=-=-=-=-=-=-=- Brad LaJeunesse PINES System Administrator Georgia Public Library Service (404) 982-3581 "If carpenters made buildings the way programmers make programs, the first woodpecker to come along would destroy all of civilization" --Anonymous
RE: Undelivered Mail Returned to Sender
Hi Linh, Perl4lib is no longer hosted at listserv.rice.edu. Try one of the options below. To unsubscribe, send a message to: <[EMAIL PROTECTED]> ...or... To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: <[EMAIL PROTECTED]> -- Michael # Michael Doran, Systems Librarian # University of Texas at Arlington # 817-272-5326 office # 817-688-1926 cell # [EMAIL PROTECTED] # http://rocky.uta.edu/doran/ > -Original Message- > From: Linh Le [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 3:51 PM > To: [EMAIL PROTECTED] > Subject: Fwd: Undelivered Mail Returned to Sender > > Help, > > I tried to send a signoff command to > [EMAIL PROTECTED] but got the error. > > Linh >