Thanks to all of you who replied. The instructions you all sent me for question 2, how to search for specific oclc number, work fine.
After playing around and re-reading yaz doc, I think I figured out the correct sequence of commands, using the yaz client, to get a complete set of holdings in usmarc (if you should happen to be crazy enough to desire such a thing).. auth userid/password open fsz3950.oclc.org:210/worldcat format usmarc elements FA find perelandra show 1 (I used perelandra 'cause I'm a CS Lewis fan.) In any case, the above sequence will display the first record in the set with ALL the 948 fields that represent all the OCLC holdings, not just the TExas holdings, which is what I was getting before. The documentation someone mentioned, at, http://www.oclc.org/support/documentation/firstsearch/z3950/fs_z39_config_guide/default.htm, gives the complete list of values that can be used in the "elements" command. Next task — translating this into a perl program so that a batch of these can be done programmatically and the 948 fields captured. 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 <[EMAIL PROTECTED]> 8/23/2007 12:57 AM >>> 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)