If I have a chain for example TEST_CHAIN, which is in multiple parts such as 0#TEST_CHAIN, 1#TEST_CHAIN, 3#TEST_CHAIN etc.
If I want to delete the entire chain, do I have to delete each chain part individually, or is there a way I can delete them all together?
Never actually tried this out but I expect that you would have to delete each record individually.
The CHAIN construct is not something the ATS or ADH Cache would treat differently from any other record. You are creating the relationship between the chains and records by including the various fields that provide the navigation path.
From having use an ATS several years ago, I remember it has the concept of Temporary records - but I am not sure if you can create and then Delete all temporary records more easily using a Post Msg. This is something you would have to discuss with the ATS support team by raising a My.Refinitiv support ticket for the ATS product.
FYI - if you are using ATS_DELETE - where you can to provide the list of fields, there is also the ATS_DELETE_ALL version which does not require you to specify the fields.
It might help if you elaborate on what you mean by "Delete"? Do you mean delete the existence of this record from the server that you created? Or do you mean to unsubscribe/close the chain? If you are creating the chain yourself, I would suggest you follow the answer from @umer.nalla above. If you mean closing a subscription you will have to close each part of the subscription. That being said, users typically only request for chains as non-streaming, so you wouldn't have to close anything.