Imported from previous forum
[ original email was from Darshan Khedekar - darshan.khedekar.ext@deutsche-boerse.com ]
Hi
I have some problem representing the following.
I want to represent the following
- A set of instructions arranged in groups as above (TEMPLATE1 and 2)
- Each of these groups arranged in a sequence could be optional (TEMPALTE2)
Please verify if my understanding is correct
- Each of these templates 1,2 and 3 must have its own pre-map, as I have copy operated fields in TEMPLATE1 and 2 and as each of these groups are optional (the spec says that if a group has optional fields then it is to be encoded as a segment i.e with premap, template-id and message body)
- The dictionary that I want to use is of template scope and it uses a key "key1"
That means I have to maintain separate data dictionaries for every template and that too key wise to copy previous values. I want to copy values from a current template type for a particular key sent earlier in an instruction (Key1). I am not sure if this can be represented. Can I provide the key value in the message and then fetch the value for this key in the data dictionary?
Regards
Darshan