Re: z39.50 queries to OCLC server
[email protected] (Simon Huggard)
| Newsgroups | perl.perl4lib |
|---|---|
| Message-ID | <[email protected]> |
Hi Anne. I was just working on the same thing when Andy's answer came in. Here's my connection via Yaz with the search syntax in case that's useful: Z> open tcp:fsz3950.oclc.org:210 Connecting...OK. Sent initrequest. Connection accepted by v3 target. Z> base WorldCat Z> find @attr 1=12 1005862 Sent searchRequest. Received SearchResponse. Search was a success. Number of hits: 1, setno 3 records returned: 0 Z> I noticed you can use: format usmarc (the default) or format sutrs I think to show full records with holdings you're supposed to do this: Z> format sutrs Z> show fa+ 3 Sent presentRequest (0+3). Records: 3 [worldcat]Record type: SUTRS Title: The mysterious senses of animals, Author(s): Dr\XF6scher, Vitus B. .... I think you can then keep hitting <enter> to scroll through all the holdings. I hope this helps (and it's correct). Regards, Simon Andy Kohler wrote: > For question #2, I believe use attribute 12 (local number) will work. > Use attribute 1211 may also work, but 12 is probably what you want. > http://www.oclc.org/support/documentation/z3950/searchtips/ > http://www.rlg.org/en/page.php?Page_ID=20985 > > I can't answer #1. > > --Andy > > On 8/22/07, Anne Highsmith <[email protected]> wrote: >> These questions may be more appropriate to another list, so if you have any suggestions as to where they should be re-directed, I'd appreciate it. >> >> I have 2 questions regarding sending z39.50 queries to the worldcat z39.50 server. >> 1. Using yaz or the perl z3950 module, is there any way to get the server to return a record that contains ALL holdings for a particular record, not just the holdings for the state in which the querying library is located? For example, if I use YAZ to send a query to the worldcat server and request a return in usmarc, the record has a single 948 field that shows me the holdings for all libraries in Texas. Is there a way to get a record that contains all holdings? >> >> 2. How do you do a z39.50 search, using YAZ or the perl module, for a specific oclc number? I can't figure out the syntax. >> >> Thanks in advance. >> >> >> >> 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) >> >> -- _______________________________________ Simon Huggard Systems Manager Information Systems Department Monash University Library Monash University Building 4, Monash University, Vic, Australia 3800 Phone: +61 3 9905 9138 Fax: + 61 3 9905 2610 Mobile: 0425 774 260 (International : +61 425 774 260)