Security Definition Tag 311

Imported from previous forum

I have a question about Security Definition

When i receive a Security Definition Message MsgType <35> = d
The NoRelatedSym tag 146 comes in with value 100 because of which i see
The Component Block - which has multiple identical tags like 311 and so on (in this case 100)

Please advise what is the best way to get all the 100 UnderlyingInstrument from the SecurityDefinition message, so that i can
transform each UnderlyingInstrument into myObject and cache it

I guess the question is how do i access a Component Block and iterate thro the content

Sorry i am new to FIX

Thanks for the help

The component block should not be visible in the tag=value syntax, only in the FIXML syntax. Please refer to FIX Specification, Volume 1 which explains both syntaxes.

For tag=value, you need the FIX repository to know which fields belong to a component block, i.e. to determine when the next instance of the repeating group starts. The first field of a repeating group is mandatory for tag=value. In case of UndInstrmtGrp (not UnderlyingInstrument which is part of it) this would be the field UnderlyingSymbol. Tag 146 NoRelatedSym does not occur in connection with an underlying instrument. Please refer to FIXmate (http://www.fixprotocol.org/FIXimate3.0/) to check for usage and relationships of tags.

If you are new to FIX, you need to work through the fundamentals of FIX first before you attempt to parse a FIX message. Understand the concepts and you will understand the messages.

Regards,
Hanno.

I have a question about Security Definition

When i receive a Security Definition Message MsgType <35> = d The
NoRelatedSym tag 146 comes in with value 100 because of which i see The
Component Block - which has multiple identical tags like 311 and so on
(in this case 100)

Please advise what is the best way to get all the 100
UnderlyingInstrument from the SecurityDefinition message, so that i can
transform each UnderlyingInstrument into myObject and cache it

I guess the question is how do i access a Component Block and iterate
thro the content

Sorry i am new to FIX

Thanks for the help