Please find the code below, which is working fine in IRIS 2020.1 but not in cache 2017.
InterSystems Developer Community is a community of
19,641 amazing developers
We're a place where InterSystems IRIS programmers learn and share, stay up-to-date, grow together and have fun!