List Info

Thread: Retrieving Full output




Retrieving Full output
country flaguser name
United States
2007-02-03 11:20:12
  Hi,

I'm using the Zoom APIs, which work well when I retrieve
data in MARC 
format. But when I change to another element set, like Full,
I still 
get the data back as MARC (and this is from sites that I
know can 
return records in Full).

Here is the connection and option setting code.

  mZoomConnection = ZOOM_connection_new( inHost, inPortNum
)

  ZOOM_connection_option_set(mZoomConnection,
"databaseName", databaseName)
  ZOOM_connection_option_set(mZoomConnection,
"preferredRecordSyntax", syntax)
  ZOOM_connection_option_set(mZoomConnection,
"elementSetName", "F") 
//also tried "Full"

Is there something obvious that I'm doing wrong?

Thanks,

Jon


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

Re: Retrieving Full output
country flaguser name
United States
2007-02-04 09:08:33
Jon,
When you request Full (elementSet = F) and format (MARC21),
you 
should always retrieve the full MARC record.  When you
request 
Brief (elementSet = B) you _may_ retrieve a briefer record
_if_
the target supports a brief communication record.  (LC does
not.)
For example, the RLIN server supports Brief and Full MARC
records
(see below).  

Are you looking for holdings information?   Some targets
support
the OPAC record format which returns additional holdings 
information (also below).

---------------------------------------------------------

Z> open zinc.rlg.org:210/BIB
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : RLG Zephyr(r)/81
Name   : RLG Z39.50 server Copyright (c) Research Libraries
Group,
Inc./YAZ
Version: 1.43/2.0.32
Options: search present delSet triggerResourceCtrl scan
sort
extendedServices namedResultSets

Z> f attr 1=4 "cat in the hat comes back"
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 29, setno 1
records returned: 0

Z> format marc21

Z> elements B

Z> s 1
Sent presentRequest (1+1).
Records: 1
[BIB]Record type: USmarc
00449cgm  22001211i 4500
001 DCLC78730614-F
003 CStRLIN
005 20070204065332.0
008 781122s1974    xxunnn b          f|eng c
010    $a    78730614 /F
245 04 $a The Cat in the hat comes back. $h [Filmstrip] / $c
Random House,
inc. ; made by Paratore Pictures.
260    $a New York : $b Random House, $c 1974.
300    $a 102 fr. : $b col. ; $c 35 mm. $e & cassette
(1/2-track. mono. 11
min.) and discussion guide.

Z> elements F

Z> s 1
Sent presentRequest (1+1).
Records: 1
[BIB]Record type: USmarc
01300cgm  22003131i 4500
001 DCLC78730614-F
003 CStRLIN
005 20070204065341.0
007 go c|bff|
007 go c|bdf|
008 781122s1974    xxunnn b          f|eng c
010    $a    78730614 /F
040    $a Random House $d CStRLIN
050    $a PZ8.3
082    $a 372.6
245 04 $a The Cat in the hat comes back. $h [Filmstrip] / $c
Random House,
inc. ; made by Paratore Pictures.
260    $a New York : $b Random House, $c 1974.
300    $a 102 fr. : $b col. ; $c 35 mm. $e & cassette
(1/2-track. mono. 11
min.) and discussion guide.
440  0 $a Beginner books filmstrips ; set 4
500    $a Sound accompaniment compatible for manual and
automatic
operation.
500    $a Adapted from the book of the same title by Dr.
Seuss.
500    $a Also issued with sound accompaniment on disc.
520    $a The cat leaves a big pink ring in the tub and
moves it from
place to place with the help of his alphabet friends. For
primary grades.
650  0 $a Children's films.
650  1 $a Cats $x Fiction.
650  1 $a Stories in rhyme.
700 1  $a Geisel, Theodor Seuss, $d 1904- $t Cat in the hat
comes back!
710 2  $a Random House, New York.
952    $a DCLC78730614-F $b Library of Congress $h Full, not
ex. $i LCC $k
DDC $n DLC $r CAT $u 19860708



-------------------------------------------------------
Z> open z3950.loc.gov:7090/voyager
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : 34
Name   : Voyager LMS - Z39.50 Server (YAZ Proxy)
Version: 2003.1.1/1.2.1.1
Options: search present

Z> f attr 1=4 "cat in the hat comes back"
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 2
records returned: 0

Z> format marc21

Z> elements B

Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: USmarc
00531cam  2200181u  4500
001 8412353
005 20030530101509.0
008 810904s1958    nyua   j      000 0 eng
035    $9 (DLC)   58009017
906    $a 0 $b cbc $c premunv $d u $e ncip $f 19 $g
y-gencatlg
010    $a    58009017
040    $a DLC $c CarP $d DLC
050 00 $a PZ8.3.G276 $b Cav
100 1  $a Seuss, $c Dr.
245 14 $a The cat in the hat comes back!
260    $a New York] $b Beginner Books; $c [1958]
300    $a 61 p. $b illus. $c 24 cm.
991    $b c-GenColl $h PZ8.3.G276 $i Cav $t Copy 1 $w PREM
nextResultSetPosition = 2

Z> elements F

Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: USmarc
00531cam  2200181u  4500
001 8412353
005 20030530101509.0
008 810904s1958    nyua   j      000 0 eng
035    $9 (DLC)   58009017
906    $a 0 $b cbc $c premunv $d u $e ncip $f 19 $g
y-gencatlg
010    $a    58009017
040    $a DLC $c CarP $d DLC
050 00 $a PZ8.3.G276 $b Cav
100 1  $a Seuss, $c Dr.
245 14 $a The cat in the hat comes back!
260    $a New York] $b Beginner Books; $c [1958]
300    $a 61 p. $b illus. $c 24 cm.
991    $b c-GenColl $h PZ8.3.G276 $i Cav $t Copy 1 $w PREM
nextResultSetPosition = 2

Z> format opac

Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: OPAC
Record type: USmarc
00531cam  2200181u  4500
001 8412353
005 20030530101509.0
008 810904s1958    nyua   j      000 0 eng
035    $9 (DLC)   58009017
906    $a 0 $b cbc $c premunv $d u $e ncip $f 19 $g
y-gencatlg
010    $a    58009017
040    $a DLC $c CarP $d DLC
050 00 $a PZ8.3.G276 $b Cav
100 1  $a Seuss, $c Dr.
245 14 $a The cat in the hat comes back!
260    $a New York] $b Beginner Books; $c [1958]
300    $a 61 p. $b illus. $c 24 cm.
991    $b c-GenColl $h PZ8.3.G276 $i Cav $t Copy 1 $w PREM
Data holdings 0
typeOfRecord: u
encodingLevel: u
receiptAcqStatus: 0
generalRetention: |
completeness: 0
dateOfReport: 000000
nucCode: c-GenColl
localLocation: Jefferson or Adams Bldg General or Area
Studies Reading Rms
callNumber: PZ8.3.G276 Cav
copyNumber: Copy 1
circulation 0
 availableNow: 0
 itemId: 8124151
 renewable: 0
 onHold: 0



On Sat, 3 Feb 2007, jda wrote:

>   Hi,
> 
> I'm using the Zoom APIs, which work well when I
retrieve data in MARC 
> format. But when I change to another element set, like
Full, I still 
> get the data back as MARC (and this is from sites that
I know can 
> return records in Full).
> 
> Here is the connection and option setting code.
> 
>   mZoomConnection = ZOOM_connection_new( inHost,
inPortNum )
> 
>   ZOOM_connection_option_set(mZoomConnection,
"databaseName", databaseName)
>   ZOOM_connection_option_set(mZoomConnection,
"preferredRecordSyntax", syntax)
>   ZOOM_connection_option_set(mZoomConnection,
"elementSetName", "F") 
> //also tried "Full"
> 
> Is there something obvious that I'm doing wrong?
> 
> Thanks,
> 
> Jon



------------------------------------------------------------

Larry E. Dixson                    Internet:    ldixloc.gov
Network Development and MARC
   Standards Office, LA327
Library of Congress                Telephone: (202)
707-5807
Washington, D.C.  20540-4402       Fax:       (202)
707-0115


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )