ClassMethod TestArr()
{
s arrRow = [1,2,3,4,5,6,7]
s size = arrRow.%Size() - 1
for i = 0 : 1 : size {
s ii = (size / size) * i // 有size运算, 就报错
w arrRow.%Get(ii), !
}
q ""
}
Class ZCustom.MirrorDejournal Extends SYS.MirrorDejournal { Method RunFilter( MirrorDBName As %String, GlobalReference As %String, RecordType As %String, Address As %Integer) As %Integer { Set ^CDCLog( $I($^CDCLog))=$lb(MirrorDBName,GlobalReference,RecordType,Address) Quit 1 }
Ensemble Delete Individual Rules and Ensemble classes programmatically Hi Team,
I have a requirement to delete the Ensemble interfaces , as per User request. I would like to write a routine for that and once I execute, it should remove the interface components through code. Could you please provide code samples for the following actions ?