/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2002-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* write query
*/
static const char write_usage[] =
"[-1ls5P?\n@(#)$Id: dss write query (AT&T Research) 2002-12-12 $\n]"
"[+PLUGIN?\findex\f]"
"[+DESCRIPTION?The \bdss\b \bwrite\b query writes the"
" current record according to the method-specific \aformat\a."
" If \aformat\a is omitted then the input record format is assumed."
" The formats are:]{\fformats\f}"
"\n"
"\n [ format] \n"
"\n";
static int
{
for (;;)
{
{
case '?':
continue;
case ':':
continue;
}
break;
}
return -1;
{
if (*argv)
{
return -1;
}
{
return -1;
}
}
else
format = 0;
return -1;
return 0;
}
static int
{
}
static int
{
}
static int
{
return 0;
}
#define QUERY_write \
{ \
"write", \
"write the current record", \
CXH, \
write_beg, \
0, \
write_act, \
write_end, \
0, \
}