<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 'ce' equal to the record number that is getting added to 'file' so I can do another free lookup that needs</div>
<div>the newly created record number in 'file'</div>
<div> </div>
<div>Is this possible?</div>
<div>I have tried setting ce after I do a 'write' new but that didn't work either</div>
<div> </div>
<div>Anyone?</div>
<div> </div>
<div>Scott</div>
<div>PDM</div>