<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Maybe I am missing something but....<br>
<br>
Based upon the info provided,&nbsp; <font face="sans-serif" size="2">part
12844161 is not in the report generated; therefore everything works as
you wanted it to.</font><font face="sans-serif" size="2"><br>
&nbsp;<br>
Olav.<br>
</font><br>
Pandurang Rajpurohit wrote:
<blockquote
 cite="midOF1027C240.F9C708AA-ON652576E5.0030188C-652576E5.0031745A@in.ibm.com"
 type="cite"><br>
  <font face="sans-serif" size="2">All</font>
  <br>
  <br>
  <font face="sans-serif" size="2">I am on screen design where a record
which do not contain data passed are only be selected. Could you please
help with query how can achieve.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Here is example</font>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">&gt; acc apmisumi</font>
  <br>
  <font face="sans-serif" size="2">&gt; show item</font>
  <br>
  <br>
  <font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INPUT OUTPUT</font>
  <br>
  <font face="sans-serif" size="2">APMISUMI &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;TYPE SCALE SCALE &nbsp;DEC PICTURE</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; APMISUMI-KEY &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CHAR
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(43)</font>
  <br>
  <font face="sans-serif" size="2">* .DOC-CHAR &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(15)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; .SOURCE-CODE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CHAR
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(16)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; .GM-PART &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(12)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; DOC-TYPE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(2)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; ORD-NUM &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(13)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; CUST-ORD &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(20)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; ORD-TYPE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(2)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; ORD-PART &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(20)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; PART-QTY &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;NUM &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; &nbsp;0 &nbsp;^.^^^.^^^</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; WHM-QTY-ORD &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM
&nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; &nbsp;0 &nbsp;^^^^^^^^</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; WHM-QTY-REC &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NUM
&nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; &nbsp;0 &nbsp;^^^^^^^^</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; SHIP-DATE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
DATE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;YYYY/MM/DD</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; WHM-REC-DATE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DATE
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;YYYY/MM/DD</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; FLAG-905 &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(1)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; PRIC-UNIT &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
NUM &nbsp; &nbsp; 3 &nbsp; &nbsp; 0 &nbsp; &nbsp;3 &nbsp;^.^^^.^^^.^^...</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; VAT-CODE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(2)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; CURR-CODE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(3)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; ACT-COST-L &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NUM
&nbsp; &nbsp; 4 &nbsp; &nbsp; 0 &nbsp; &nbsp;4 &nbsp;^^^.^^^.^^^,...</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; ACT-COST-F &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NUM
&nbsp; &nbsp; 4 &nbsp; &nbsp; 0 &nbsp; &nbsp;4 &nbsp;^^^.^^^.^^^,...</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; AVC-COST &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;NUM &nbsp; &nbsp; 3 &nbsp; &nbsp; 0 &nbsp; &nbsp;3 &nbsp;^.^^^.^^^.^^...</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; BEAF-INV &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(1)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; LOC-CUST &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(9)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; TOT-LINES &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
NUM &nbsp; &nbsp; 0 &nbsp; &nbsp; 0 &nbsp; &nbsp;0 &nbsp; ^.^^^</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; WHM-PLAN-CODE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(4)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; WHM-IN-TYPE &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CHAR
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(4)</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; FILLER &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;CHAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X(42)</font>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">&gt; acc apmisumi</font>
  <br>
  <font face="sans-serif" size="2">&gt; select if source-code =
"632654450"
and gm-part = " &nbsp; &nbsp;12844161"</font>
  <br>
  <font face="sans-serif" size="2">&gt; rep doc-char source-code
gm-part
flag-905</font>
  <br>
  <font face="sans-serif" size="2">&gt; go</font>
  <br>
  <font face="sans-serif" size="2">2010/03/13 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OPEL P&amp;A DATA DICTIONARY &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PAGE &nbsp; 1</font>
  <br>
  <br>
  <font face="sans-serif" size="2">&nbsp; Document number &nbsp;SOURCE
CODE &nbsp; &nbsp; &nbsp; Gm Part &nbsp; &nbsp; &nbsp; Flag</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;905</font>
  <br>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12844161 &nbsp; C</font>
  <br>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">&gt; acc apmisumi</font>
  <br>
  <font face="sans-serif" size="2">&gt; select if source-code =
"632654450"
and gm-part &lt;&gt; " &nbsp; &nbsp;12844161" and (flag-905="P"
or flag-905="C")</font>
  <br>
  <font face="sans-serif" size="2">&gt; rep doc-char source-code
gm-part
&nbsp;flag-905</font>
  <br>
  <font face="sans-serif" size="2">&gt; go</font>
  <br>
  <font face="sans-serif" size="2">2010/03/13 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OPEL P&amp;A DATA DICTIONARY &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PAGE &nbsp; 1</font>
  <br>
  <br>
  <font face="sans-serif" size="2">&nbsp; Document number &nbsp;SOURCE
CODE &nbsp; &nbsp; &nbsp; Gm Part &nbsp; &nbsp; &nbsp; Flag</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;905</font>
  <br>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4726568 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5064431 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5325626 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5409420 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;9121795 &nbsp; P</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12790592 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 13219393 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000225071 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 13253738 &nbsp; C</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000301004 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5333794 &nbsp; P</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000301004 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 11609598 &nbsp; P</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000301004 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12762510 &nbsp; P</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000301004 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12767670 &nbsp; P</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000301004 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12797804 &nbsp; P</font>
  <br>
  <font face="sans-serif" size="2">&nbsp; 000000000302065 &nbsp;632654450
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;9270120 &nbsp; P</font>
  <br>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">I need select only doc-char which
does
not contain part &nbsp;12844161 for source code 632654450 but with this
query the doc-char 000000000225071 is also selected even though it
contain
part 12844161</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Can any one &nbsp;help me</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Thanks &amp; Regards<br>
Pandurang Rajpurohit,<br>
-----------------------------------------------------------------<br>
Project Manager <br>
GM - Powerhouse Tower (DDS)<br>
IBM Global Services India Pvt. Ltd. Pune<br>
Contact No : +91 020 40116372<br>
Mobile No : +91 9049009973<br>
EMAIL : <a class="moz-txt-link-abbreviated" href="mailto:pandurang.rajpurohit@in.ibm.com">pandurang.rajpurohit@in.ibm.com</a> <br>
  <br>
  </font>
</blockquote>
</body>
</html>