-<!-- $Id: client.xml,v 1.15 2003-05-19 20:45:07 adam Exp $ -->
+<!-- $Id: client.xml,v 1.19 2006-06-13 16:01:51 adam Exp $ -->
<chapter id="client"><title>The YAZ client</title>
<sect1 id="client.introduction"><title>Introduction</title>
<para>
- yaz-client is a line-mode Z39.50/SRW client. It supports a fair amount
+ yaz-client is a line-mode Z39.50/SRU client. It supports a fair amount
of the functionality of the Z39.50v3 standard.
Its primary purpose is to exercise the package, and verify that
the protocol works OK.
<arg>-m <replaceable>fname</replaceable></arg>
<arg>-a <replaceable>fname</replaceable></arg>
<arg>-c <replaceable>fname</replaceable></arg>
+ <arg>-q <replaceable>fname</replaceable></arg>
<arg>-v <replaceable>level</replaceable></arg>
<arg>-p <replaceable>target</replaceable></arg>
<arg>-u <replaceable>auth</replaceable></arg>
<simpara>
in a UNIX shell / WIN32 console. The <replaceable>zurl</replaceable>,
- specifies a Z39.50/SRW host and, if specified, the client first tries to
- establish connection with the Z39.50/SRW target.
+ specifies a Z39.50/SRU host and, if specified, the client first tries to
+ establish connection with the Z39.50/SRU target.
</simpara>
<simpara>
Options are prefixed by <literal>-</literal> followed by a
</simpara></listitem>
</varlistentry>
<varlistentry><term>
+ <literal>-q</literal> <replaceable>fname</replaceable>
+ </term><listitem>
+ <simpara>Sets the filename for CQL fields to
+ <replaceable>fname</replaceable>. If this option is not given the
+ YAZ client reads CQL fields from file
+ <literal>/usr/local/share/yaz/etc/pqf.properties</literal>.
+ </simpara></listitem>
+ </varlistentry>
+ <varlistentry><term>
<literal>-v</literal> <replaceable>level</replaceable>
</term><listitem>
<simpara>Sets the LOG level to <replaceable>level</replaceable>.
</screen>
</para>
<para>
- The same server is also a SOAP SRW service. Connect to it via HTTP
+ The same server is also a SRU service. Connect to it via HTTP
as follows:
<screen>
yaz-client http://bagel.indexdata.dk:210/marc