ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install yaz
yaz-client will then be available and you can use it like this:
run the program and you get a Z> prompt.
yaz-client
The rest of the commands here are entered at the Z> prompt.
open
opens a connection to a chosen server - this is the connection string that we have in TARL setup console.
open voyager.aber.ac.uk:7090/VOYAGER
f
is short for find
(which you can also use) and we search for an attribute 1=12 (12=LCN, 7=ISBN, 8=ISSN)
f @attr 1=12 1234567
You can sometimes search for keywords - but this depends whether the z39.50 server supports this. it'll soon tell you if it doesn't.
f badger
s
is short for show
(which you can also use) and shows the next result in the result set (if there are any)
s
before you do the show you can also set the format values like usmarc
, opac
, xml
format opac
For SirsiDynix Systems, we search for the cKey. In this example the cKey we are looking for is 12345
f ^C12345
my-computer> yaz-client
Z> open voyager.aber.ac.uk:7090/VOYAGER
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 34
Name : Voyager LMS - Z39.50 Server
Version: 2008.2.2
Options: search present
Elapsed: 0.573277
Z> f badger
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 70
records returned: 0
Elapsed: 0.102565
Z> s
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: USmarc
00828cam 2200265 4500
001 192824
005 20050917155252.0
008 980327s1992 enka 000 eng|c
020 $a 185904042X
029 00 $a oc31960036
035 $9 185904042X
035 $a 192824
040 $a LWA $c LWA $d UWK
090 00 $a HD30.29 $b .B34 1994
100 1 $a Badger, Beryl.
245 10 $a Activities for problem solving / $c Beryl Badger and Ian Chaston.
260 $a Aldershot, Hampshire, U.K : $b Connaught, $c 1992.
300 $a vii, 239 p : $b ill ; $c 32 cm.
500 $a Cover title:- Activities for developing problem solving.
590 $a For use by UWA staff only.
650 00 $a Problem solving $v Handbooks, manuals, etc.
700 1 $a Chaston, Ian.
740 0 $a Problem solving.
970 00 $a HD30.29.B1
981 00 $a Staff Development Learning Centre
nextResultSetPosition = 2
Elapsed: 0.054987
Z> exit
See you later, alligator.