<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Richard,<br>
    <br>
    Get the info on defile(3) <u>before</u> you do the gosub.<br>
    <br>
    If you are deleting the original defile handle record in the
    sub-routine , the defile lookup is closed before you return.<br>
    <br>
    Richard D. Williams<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/25/2018 11:28 AM, Richard Kreiss
      via Filepro-list wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DM6PR04MB487649B1FE06FA5467BABF97B7160@DM6PR04MB4876.namprd04.prod.outlook.com">
      <pre wrap="">Have a process which does a lookup and test it starting with line 79 in my processing table. The program then does a GOSUB and copies the original record to a backup and then does a return.  The program then checks to see if some variable have been set.  Then tests to see if there is a dummy variable ln ne defile(3).  This is where I get the field not found error.

I know the lookup is valid as it has been tested previously and has been able to copy out the record looked up to a qualifier.  I don't know why defile(the alias) is failing the lookup.  Any suggestions as to why this code is failing.

I can repeat the lookup again but that would just be a work around for the issue.


Richard Kreiss
GCC Consulting


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 15341 bytes
Desc: not available
URL: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20180925/73221326/attachment.bin"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20180925/73221326/attachment.bin></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>

---
This email has been checked for viruses by AVG.
<a class="moz-txt-link-freetext" href="https://www.avg.com">https://www.avg.com</a>


</pre>
    </blockquote>
    <br>
  </body>
</html>