Hi All,<div><br></div><div>I need to update an indexed file which has no unique key, but all "repeating primary" and "repeating alternate" indexes.</div><div><br></div><div><br></div><div>When i compile the program, I get the following warning:</div>
<div><div><span class="Apple-style-span" style="font-weight: bold;"><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">*W* Linkage should be via a unique key/index if the file is output only.</span></span></div>
<div><br></div><div>Program is something like this:</div><div><br></div><div><div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;">ACCESS OPTICLEN &</span></div>
<div><span class="Apple-style-span" style="font-family: 'courier new', monospace;"> LINK CUN &</span></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;"> TO CUN OF *$PIC_DATA/OPBEUROD_S &</span></div>
<div><span class="Apple-style-span" style="font-family: 'courier new', monospace;"> LINK CRY OF OPBEUROD_S &</span></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;"> TO CURR-CODE OF IPTIEURO </span></div>
<div><span class="Apple-style-span" style="font-family: 'courier new', monospace;"> </span></div><div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;">SELECT IF CLAIM-CURR="SKK"</span></div>
<div><span class="Apple-style-span" style="font-family: 'courier new'; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;">OUTPUT OPTICLEN ALIAS CLEN_UPD UPDATE<br>
</span></div><div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace;"> ITEM CLAIM-CURR OF CLEN_UPD ="EUR"</span></div><div><br></div></div></div></div></div><div>I realize when the QTP runs, the control breaks are set on the primary index by default, and the output update runs on next unique value of repeating index.</div>
<div>So, all the needed records in the selection are not updated.</div><div>It would be of great help if I can set a control break so that every record in selection is updated.</div><div>Correct me if I am going anywhere, or any other perfect way of updating such files.</div>
<div>We have PowerHouse 8.43.D on Solaris SunOS.</div><div><br></div></div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div>Vamsi<br clear="all"><br>-- <br>"Nothing is impossible as impossible itself says i m possible"<br>
</div>