Marc, maybe you only need to specify
format sutrs
before retrieve records:
$ yaz-client opac.sbn.it:2100/nopac
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 81
Name : metavista-acs [a0a0b0a] [ BXZv7UyBfNE ]/GFS/YAZ
Version: 1.2.0/1.43/2.0.32
Options: search present triggerResourceCtrl scan sort
namedResultSets
Elapsed: 0.091031
Z> format sutrs
Z> f attr 1=4 fish
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1222, setno 1
records returned: 0
Elapsed: 0.364839
Z> s
Sent presentRequest (1+1).
Records: 1
[nopac]Record type: SUTRS
Livello bibliografico: Monografia
Autore: Hinton, Susan Eloise
Titolo: *Rusty il selvaggio / S.E. Hinton
Luogo di pubblicazione: Milano
Data di pubblicazione: stampa 1984
Codice identificativo: ITICCUANA 070785
nextResultSetPosition = 2
Elapsed: 0.051814
Z> q
I'm agree with Marc Cromme: "Net::Z3950 or your Perl
script is the
probable culprit.". But this happens only with the SBN
base...
Bye. Stefano
On 15/feb/07, at 12:57, Mike Taylor wrote:
> bargioni writes:
>> Hi,
>> using yaz-client I can correctly search
opac.sbn.it:2100/nopac.
>> However, programmatically, using Net:Z3950 in a
Perl script, I obtain
>>
>> FATAL (yazwrap): illegal/unsupported `which' (1)
in
>> Z_OtherInformationUnit
>> Aborted
>>
>> My script runs correctly with a lot of Z39.50
sources but SBN.
>> Any help?
>> Thanks a lot. Stefano
>
> Hi, Stefano. I'll need more information about what
you're doing,
> since I was unable to retrieve records from this server
using
> yaz-client, too:
>
> $ yaz-client opac.sbn.it:2100/nopac
> Connecting...OK.
> Sent initrequest.
> Connection accepted by v3 target.
> ID : 81
> Name : metavista-acs [a0a0b0a] [ BXZv7UyBfNE
]/GFS/YAZ
> Version: 1.2.0/1.43/2.0.32
> Options: search present triggerResourceCtrl scan sort
namedResultSets
> Elapsed: 1.862383
> Z> find attr 1=4 fish
> Sent searchRequest.
> Received SearchResponse.
> Search was a success.
> Number of hits: 1222, setno 2
> records returned: 0
> Elapsed: 0.277100
> Z> show 1
> Sent presentRequest (1+1).
> Diagnostic message(s) from database:
> [2] Temporary system error -- v2 addinfo 'Present
error'
> nextResultSetPosition = 0
> Elapsed: 0.521951
> Z> format marc
> Z> show 1
> Sent presentRequest (1+1).
> Diagnostic message(s) from database:
> [2] Temporary system error -- v2 addinfo ' Wrong
target state'
> nextResultSetPosition = 0
> Elapsed: 0.267116
> Z>
>
> What sequence of commands are you using to search with
yaz-client, and
> how are you trying to emulate this with Net::Z3950?
>
> _/|_
>
____________________________________________________________
_______
> /o ) / Mike Taylor <mike indexdata.com>
http://
> www.miketaylor.org.uk
> )_v__/ Zenophobia, n. -- the irrational fear of
convergent
> sequences.
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|