I do not really understand what you want to do with contract identifiers in your greeks dataset. The contract identifiers must be stored in a .t8 file of CONTRACT structs, not in your greeks file. You store both datasets in same order and look up the greeks of a selected contract with the ContractRow variable that gives you the dataset row. What exactly is the problem?