IDP DVIDP DV
Watch
0
Star
0
Category
Tools
Works with
Tags
Version
2018.1.2
Last updated
2018-12-14
Repository
License
Download
Discuss
Details
Version history
Issues
Discuss

What's new in this version

Article was added

Class data verifier. Utility validates Caché classes properties data according the properties type.

IDP DV

Class data verifier. Utility validates Caché classes properties data according to the properties' types.

Use Import classes and call one of the entry points:

s st = ##class(IDP.DV).ScanAllClasses(.Oid) - for all user classes
s st = ##class(IDP.DV).ScanSubclassesOf(Class, .Oid) - for subclasses
s st = ##class(IDP.DV).ScanMatchingClasses(Mask, .Oid) - for LIKE SQL

The utility works only in a current namespace.

Arguments:

  • Oid - Output structure, that stores data about invalid objects in a classes
  • Class - Scan all subclasses Of a class (and class itself).
  • Mask - Passed into the SQL query SELECT ID FROM %Dictionary.ClassDefinition Where ID LIKE ?

Example

  1. Import IDP.DV into desired namespace

  2. Run in terminal:

     s st = ##class(IDP.DV).ScanAllClasses(.Oid)
     zw Oid