User bio
404 bio not found
Member since Apr 14, 2022
Replies:

From the description of your task, it will be easier to use the %ScrollableResultSet class.

Here is a small example:

try{
  n $namespace
  s $namespace="ENS"
  rs=##class(%ScrollableResultSet).%New()
  rs.Prepare("query in ENS")
  rs.Execute()
  rs.%Save()
  rsId=rs.%Id()
  "rsId=",rsId,!
  rs

  s $namespace="ONS"
  
  rs=##class(%ScrollableResultSet).%OpenId(rsId)
  while rs.Next() {
    rs.Data("your data"),!
  }
}catch(ex){
}
Certifications & Credly badges:
Vitaliy has no Certifications & Credly badges yet.
Followers:
Following:
Vitaliy has not followed anybody yet.