File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # CDV
2+ Class data verifier. Utility validates Caché classes properties data according the properties type.
3+
4+
5+ ##Use
6+ Import classes and call one of the entry points:
7+
8+ s st = ##class(CDV.CDV).ScanFromAllClasses(.Oid) - for all user classes
9+ s st = ##class(CDV.CDV).ScanFromSubclassesOf(Class, .Oid) - for subclasses
10+ s st = ##class(CDV.CDV).ScanFromMatchingClasses(Mask, .Oid) - for LIKE SQL
11+
12+ The utility works only in a current namespace.
13+
14+ Arguments:
15+
16+ - ` Oid ` - Output structure, that stores data about invalid objects in a classes
17+ - ` Class ` - Scan all subclasses Of a class (and class itself).
18+ - ` Mask ` - Passed into the SQL query ` SELECT ID FROM %Dictionary.ClassDefinition Where ID LIKE ? `
19+
20+ ##Exemple
21+
22+ 1 . Import CDV.CDV into desired namespace
23+ 2 . Run in terminal:
24+
25+ s st = ##class(CDV.CDV).ScanFromAllClasses(.Oid)
26+ zw Oid
27+
28+
You can’t perform that action at this time.
0 commit comments