[This message was posted by Arun Ramachandran of CBOE <[email protected]> to the 
"FAST Protocol" discussion forum at http://fixprotocol.org/discuss/46. You can 
reply to it on-line at http://fixprotocol.org/discuss/read/1858a831 - PLEASE DO 
NOT REPLY BY MAIL.]

Can someone tell me if my assumption about dictionary scopes based on the 
following example. 

(template name="temp1" dictionary="MyDictionary")
(typeRef = "TypeRef1")
        (string name="field1" id="1128")
                (copy   value="123" dictionary= "template"/)
        (/string)
        (string name="field2" id="35")
                (copy  value = "123" dictionary = "type"/)
        (/string)
        (string name="field3" id="49")
                (copy value="123" dictionary="MyDictionary" key = 123  /)
        (/string)
        (string name="field4" id="409")
                (copy value="123" key = 123  /)
        (/string)
        (sequence name="seq1" id=10)
        (typeRef = "TypeRef2")
                (string name="field1" id="1128")
                        (copy   value="123" dictionary= "template"/)
                (/string)
                (string name="field2" id="35")
                        (copy  value = "123" dictionary = "type"/)
                (/string)
                (string name="field3" id="49")
                        (copy value="123" dictionary="MyDictionary" key = 123  
/)
                (/string)
                (string name="field4" id="409")
                        (copy value="123" key = 123  /)
                (/string)
        (/sequence)
        (templateRef name = temp2)
(template)

(template name="temp2")
(typeRef = "TypeRef1")
        (string name="field1" id="1128")
                (copy   value="123" dictionary= "template"/)
        (/string)
        (string name="field2" id="35")
                (copy  value = "123" dictionary = "type"/)
        (/string)
        (string name="field3" id="49")
                (copy value="123" dictionary="MyDictionary" key = 123  /)
        (/string)
        (string name="field4" id="409")
                (copy value="123" key = 123  /)
        (/string)
(/template)

Here is what i understood of the above example.
Temap1 template
temp1.field1 - dictionary temp1
temp1.field2 - dictionary AppTypeRef1
temp1.field3 - dictionary MyDictionary
temp1.field4 - dictionary MyDictionary

Sequence field with in Temp1
temp1.Seq1.field1 - dictionary temp1
temp1.Seq1.field2 - dictionary AppTypeRef2
temp1.Seq1.field3 - dictionary MyDictionary
temp1.Seq1.field4 - dictionary ? - IF the sequence field has a dictionary 
attribute say "ABC" then i would assume field4 would be in ABC 

Temp2 tempalte.
temp2.field1 - dictionary temp2 or temp1 ?

temp2.field2 - dictionary AppTypeRef1 - just in case If typeref is not 
specified, which dictionary this would go to?

temp2.field3 - dictionary MyDictionary
temp2.field4 - dictionary Global or MyDictionary ?

Thank You
Arun.

[You can unsubscribe from this discussion group by sending a message to 
mailto:[email protected]]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Financial Information eXchange" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/FIX-Protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to