From 7a870687ef78606cd134e82fd9085722efe3c979 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 21 Jun 2005 07:34:26 +0000 Subject: [PATCH] Describe new comman xmles. Update doc for Item Update. --- doc/yaz-client-commands.xml | 36 +++++++++++++++---- doc/yaz-client-man.xml | 82 ++++++++++++++++++++++++++++--------------- 2 files changed, 82 insertions(+), 36 deletions(-) diff --git a/doc/yaz-client-commands.xml b/doc/yaz-client-commands.xml index d96e56c..fd98374 100644 --- a/doc/yaz-client-commands.xml +++ b/doc/yaz-client-commands.xml @@ -1,5 +1,5 @@ @@ -332,13 +332,23 @@ update + action + recid + doc - Sends Item Update Request. This command sends a "minimal" - PDU Update to the target supplying the last received record from - the target. - If no record has been received from the target this command is ignored - and nothing is sent to the target. + Sends Item Update Request. The action + argument must be the action type: one of insert, + replace, delete and + update. The second argument, + recid, is the + record identifier (any string). Third argument which is optional is + the record document for the request. If doc is a quoted string + (double quotes) the string content is used verbatim. If doc is not + a quoted string, it is assumed to be a filename which is read, then + sent as the docuemnt content. If doc is omitted, the last received + record (as parf of present response or piggybacked search response) + is used for the update. @@ -623,7 +633,7 @@ This command makes YAZ client wait for a number of - response packages from target. If number is + response packages from target. If number is omitted, 1 is assumed. This command is rarely used and is only useful if command @@ -634,6 +644,18 @@ + + xmles + doc + + + Sends XML Extended Services request using the doc given. + This is a privately defined Extended Service using OID + 1.2.840.10003.9.1000.105.4. + + + + zversion ver diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index 016d485..aaf4824 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -1,7 +1,7 @@ ]> - + @@ -17,14 +17,16 @@ yaz-client - + - + + + + - - + addr @@ -53,24 +55,21 @@ OPTIONS - -m filename - - If specified, retrieved records will be appended to the file given. - - - -a filename If specified, logging of protocol packages will be appended - file given. The special filename - - (dash) denotes standard output. + file given. If filename is + specified as -, the output is written + to stdout. - -u auth + -b filename - If specified, the auth string - will be used for authentication. + If specified, YAZ will dump BER data in readable notation + to the file specified. If filename + is specified as - the output is written + to stdout. @@ -81,13 +80,27 @@ - -q filename + -d dump - If specified, CQL configuration will be read from - the file given. + If specified, YAZ will dump BER data for all PDUs sent and received + to individual files, named + dump.DDD.raw, + where DDD is 001, 002, 003, .. + + + + -k size + + Sets preferred messages and maximum record size for Initialize + Request in kilobytes. Default value is 1024 (1 MB). + + + + -m filename + + If specified, retrieved records will be appended to the file given. - -p addr @@ -95,22 +108,33 @@ given. - - -k size + -q filename - Sets preferred messages and maximum record size for Initialize - Request in kilobytes. Default value is 1024 (1 MB). + If specified, CQL configuration will be read from + the file given. - - -x - - Makes the YAZ client print hex dumps of packages sent and received - on standard output. + -u auth + + If specified, the auth string + will be used for authentication. + + -V + + Prints YAZ version. + + + + -x + + Makes the YAZ client print hex dumps of packages sent and received + on standard output. + + -- 1.7.10.4