Neoview Command Interface (NCI) Guide (R2.4)
<tr>
<th>Error Id</th>
<th>Error Code</th>
<th>Error Message</th>
<tr>
<td>1</td>
<td>4082</td>
<td>Object NEO.NVS.CUSTOMER does not exist or is inaccessible.</td>
</tr>
</TABLE>
• To set the application to format output as HTML:
SQL>set markup HTML
HTML formatted error message example:
SQL>set markup <invalid>
<?xml version="1.0"?>
<Results>
<Query>
<![CDATA[set markup <invalid ]]>
</Query>
<ErrorList>
<Error id="1">
<ErrorCode>NVCI001</ErrorCode
<ErrorMsg> <![CDATA[
ERROR: A syntax error occurred at or before:set markup <invalid>
^ ]]<>/ErrorMsg>
</Error> </ErrorList>
</Results>
• This command specifies results be displayed in CSV:
SQL>set markup CSV
SQL>select c.custnum, c.custnum, ordernum, order_date
+>from customer c,orders o where c.custnum=o.custnum;
143,STEVENS SUPPLY ,700510,2003-06-01
3333,NATIONAL UTILITIES,600480,2003-05-12
7777,SLEEPWELL HOTELS ,100250,2003-01-23
324,PREMIER INSURANCE ,500450,2003-04-20
926,METALL-AG. ,200300,2003-02-06
123,BROWN MEDICAL CO ,200490,2003-03-19
123,BROWN MEDICAL CO ,300380,2003-03-19
543,FRESNO STATE BANK ,300350,2003-03-03
5635,ROYAL CHEMICALS ,101220,2003-07-21
21,CENTRAL UNIVERSITY,200320,2003-02-17
1234,DATASPEED ,100210,2003-04-10
3210,BESTFOOD MARKETS ,800660,2003-10-09
• This command specifies results be displayed in XML:
SQL>set markup xml
SQL>select * from author
<?xml version="1.0"?>
<Results>
<Query>
<![CDATA[select * from author;]]>
</Query>
<rowid="1">
<AUTHORID>91111</AUTHORID>
<AUTHORNAME>Bjarne Stroustrup</AUTHORNAME>
</row>
<rowid="2">
<AUTHORID>444444</AUTHORID>
124 NCI Commands