Question
· Jul 24

Undocumented RoutineList features

As I was trying to create a routine search query via RoutineList, I discovered that documentation both for Cache and Iris offers only ABC* and ABC? syntax for including routine names and, unlike %RO, does not offer name ranges. Is that indeed so?

After some system files reading, I discovered that you can EXCLUDE certain routines with ', by using the 'ABC or 'ABC* syntax. That is not documented but it should be. Any other non-documented RoutineList syntax capabilities? 

Example:

list="ABC*,'ABCD*,XYZ"
;Iterate through routine list
rs=##class(%ResultSet).%New("%Routine:RoutineList")
x=rs.Execute(list)
t=""
F  {
x=rs.Next() q:'x
rtnName=rs.GetData(1)
rtnName,","
}

Product version: Caché 2017.1
Discussion (1)2
Log in or sign up to continue