Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResetSeqNumFlag #517

Open
aozeahj opened this issue Sep 29, 2022 · 1 comment
Open

ResetSeqNumFlag #517

aozeahj opened this issue Sep 29, 2022 · 1 comment

Comments

@aozeahj
Copy link

aozeahj commented Sep 29, 2022

Setting ResetSeqNumFlag(141)='Y' when initiator run the start() method is not supported. This prevents the session serial number from being reset automatically.

@mgatny
Copy link
Member

mgatny commented Sep 29, 2022

Can you explain your use case a little more? In the meantime, some things you could do:

  • Control this via SessionSettings (see the ResetOn... and RefreshOn.... settings).
  • Or, I suppose you could call initiator.getSession(sessionID).reset() before you call initiator.start() (or getSessions() to iterate over all of them).
  • Or, you could set RefreshOnLogon=Y and manipulate the Store (e.g. overwrite the .seqnums file) before calling start().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants