# Sequence Reset: PosDupFlag usage

**URL:** <https://forum.fixtrading.org/t/sequence-reset-posdupflag-usage/3550>\
**Category:** General Q&A\
**Tags:** general-qa, xid\_166902, imported\
**Created:** [April 11, 2001, 8:19pm UTC](https://forum.fixtrading.org/t/sequence-reset-posdupflag-usage/3550 "2001-04-11T20:19:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregorytaylor\_x](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@gregorytaylor\_x](https://forum.fixtrading.org/u/gregorytaylor_x)\
**Post date:** [April 11, 2001, 8:19pm UTC](https://forum.fixtrading.org/t/sequence-reset-posdupflag-usage/3550/1 "2001-04-11T20:19:00Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![gregorytaylor\_x](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@gregorytaylor\_x](https://forum.fixtrading.org/u/gregorytaylor_x)\
**Post date:** [April 11, 2001, 8:19pm UTC](https://forum.fixtrading.org/t/sequence-reset-posdupflag-usage/3550/2 "2001-04-11T20:19:00Z")

</div>

When responding to a Resend Request all messages are sent with PosDupFlag set to Y. This seems simple enough, but when sending the Gapfill or Reset message should the PosDupFlag also set to Y?

And, on the other end, when processing a Sequence Reset (Gapfill or Reset), should the PosDupFlag be ignored?

---

<div class="post-metadata">

**Author:** ![romanpolupanov\_x](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@romanpolupanov\_x](https://forum.fixtrading.org/u/romanpolupanov_x)\
**Post date:** [April 17, 2001, 11:59am UTC](https://forum.fixtrading.org/t/sequence-reset-posdupflag-usage/3550/3 "2001-04-17T11:59:00Z")

</div>

By spec FIX4.2:  
Upon receipt of a Resend Request, the resender can respond in one of three ways:

1. retransmit the requested messages (in order) with the original sequence numbers and PossDupFlag set to "Y"
2. issue a SeqReset-GapFill with PossDupFlag set to "Y" message to replace the retransmission of administrative and application messages
3. issue a SeqReset-Reset with PossDupFlag set to "Y" to force sequence number synchronization

So, when sending the Gapfill or Reset message You should the PosDupFlag set to ‘Y’.

Roman Polupanov  
B2B Its Corp.,  
[fix.btobits.com](http://fix.btobits.com)  
[www.btobits.com](http://www.btobits.com)

\> When responding to a Resend Request all messages are sent with PosDupFlag set to Y. This seems simple enough, but when sending the Gapfill or Reset message should the PosDupFlag also set to Y?  
\>  
\> And, on the other end, when processing a Sequence Reset (Gapfill or Reset), should the PosDupFlag be ignored?  
\>  
\>
