Skip to content

Сlass data verifier. Utility validates InterSystems IRIS classes properties data according the properties type

License

Notifications You must be signed in to change notification settings

objectscript/CDV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IDP DV

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

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
    

About

Сlass data verifier. Utility validates InterSystems IRIS classes properties data according the properties type

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5