<div>I have a process that is adding a record to a file and I need to capture the record number that is being added</div>
<div>i.e.</div>
<div> </div>
<div>If = 6 gt @td</div>
<div>Then = lookup new = file   r=free   -e</div>
<div> </div>
<div>Then = ce(10,*)=new(@rn)</div>
<div> </div>
<div> </div>
<div>I need &#39;ce&#39; equal to the record number that is getting added to &#39;file&#39; so I can do another free lookup that needs</div>
<div>the newly created record number in &#39;file&#39;</div>
<div> </div>
<div>Is this possible?</div>
<div>I have tried setting ce after I do a &#39;write&#39; new but that didn&#39;t work either</div>
<div> </div>
<div>Anyone?</div>
<div> </div>
<div>Scott</div>
<div>PDM</div>