InterSystems IRIS TSQL Code 6833 Parent tag ID %d is not among the open t

In this post, you’ll learn about the SQL error code 6833 in InterSystems IRIS database the reason why you are receiving the TSQL message when using the InterSystems IRIS data platform

Error Code :

6833

Reason for the Error code 6833 in InterSystems IRIS DBMS

Parent tag ID %d is not among the open tags. FOR XML EXPLICIT requires parent tags to be opened first. Check the ordering of the result set.