User bio
404 bio not found
Member since Mar 26, 2019
Posts:
Replies:
I would day that the bot answer is not relevant to what you asked.
there is no directive to do looping in macro definitions, however, you could look at a directive called #execute where you should be able to execute any valid COS code, but there are some limitations:
#execute | ObjectScript Reference | InterSystems IRIS Data Platform 2025.2
for sure direct global access, especially looping on indexes is faster than SQL. It seems that the index global you used: ^PatientD("Date",FromDate)) should be: ^PatientI("Date",FromDate))
Using queue manager (for each "FromDate") will do this in parallel which will speed things much more!
Certifications & Credly badges:


Global Masters badges:







Followers:
Following:
HTTP 401 means "Unauthorized" check that the web application /terminal has the correct credentials and correct authentication methods (password, LDAP etc.)
(the /terminalsocket should be always unauthenticated, its the default)
to help you resolve this, you may use auditing, to see if there is a "login failure" when you try to access.