InterSystems IRIS TSQL Code 21268 Cannot change queue type while there are

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

Error Code :

21268

Reason for the Error code 21268 in InterSystems IRIS DBMS

Cannot change queue type while there are subscriptions to the publication.