In this blog post, you’ll learn more about the Sybase Error Parent not open: ‘%1’ and the reason for receiving this error
Sybase SQL Error Message
Parent not open: ‘%1’
Reason for this Error
FOR XML EXPLICIT and FOR JSON EXPLICIT require the parent tag for a row to be opened when that row is read. Check the order of the rows returned by the query with the FOR XML EXPLICIT or FOR JSON EXPLICIT clause removed.