<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">When using the "co" or contains, it is
      most important to make sure there are no trailing blanks spaces.<br>
      <br>
      If the real field is 20 chars. and the last name is "Williams",
      there are 12 trailing spaces that will make your statement false
      in this case;<br>
      <br>
      assuming field 4 is the last name 20 chars in length with a value
      of "Williams"<br>
      name(3) is "Richard D. Williams"<br>
      if: not(name(3) co 4)<br>
      <br>
      This would be true. Saying that name(3) <u>does not</u> contain
      "Williams". But it does.<br>
      <br>
      Now, if you take the last name real field 4 in our example and
      place it inside "l", like this; l=""{4{"",<br>
      you eliminate the trailing blanks space contained in the real
      field and the statement above would be false.<br>
      <br>
      Possibly it would be easier to show the opposite case, but I hope
      you get my drift here.<br>
      <br>
      Hope this helps,<br>
      <br>
      Richard<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 7/2/2018 2:02 PM, Jose Lerebours via Filepro-list wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:55fe5473-f5e0-9eeb-4c1f-9c029e48f82b@gmail.com">This is
      simple:
      <br>
      <br>
      (1) do lookup
      <br>
      <br>
      (2) use a label like CKLast AS
      <br>
      <br>
      CKLast:if:name(3) co "LastName"
      <br>
      <br>
      :then:
      <br>
      <br>
      Next line you will check if the CKLast was true or false ...
      <br>
      <br>
      :if:not CKLast
      <br>
      <br>
      :then: ... last name string not in name(3) process goes here ...
      <br>
      <br>
      <br>
      <br>
      <br>
      On 07/02/2018 01:35 PM, Richard Kreiss via Filepro-list wrote:
      <br>
      <blockquote type="cite">I am creating an output process which
        checks if a last name field contains(co) the name in a lookup
        file.
        <br>
        <br>
        If: name(3) not co Lastname
        <br>
        <br>
        The issue I am having is how to do a not contain (not co) yields
        a syntax error.
        <br>
        <br>
        The file being used might have a suffix such as Jr or Sr or II.
        I am trying to avoid having to eliminate these suffixes.  If I
        need to do this, it will just complicate this processing.
        <br>
        <br>
        <br>
        Richard Kreiss
        <br>
        GCC Consulting
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        -------------- next part --------------
        <br>
        A non-text attachment was scrubbed...
        <br>
        Name: winmail.dat
        <br>
        Type: application/ms-tnef
        <br>
        Size: 13897 bytes
        <br>
        Desc: not available
        <br>
        URL:
<a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20180702/781137d6/attachment.bin"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20180702/781137d6/attachment.bin></a><br>
        _______________________________________________
        <br>
        Filepro-list mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
        <br>
        Subscribe/Unsubscribe/Subscription Changes
        <br>
        <a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      Filepro-list mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
      <br>
      Subscribe/Unsubscribe/Subscription Changes
      <br>
      <a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
      <br>
      <br>
      <br>
      <br>
      <br>
      ---
      <br>
      This email has been checked for viruses by AVG.
      <br>
      <a class="moz-txt-link-freetext" href="https://www.avg.com">https://www.avg.com</a>
      <br>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>