DIAC1T ;SLCISC/MKB - Test utility for Policies ;17FEB2017
Source file <DIAC1T.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| EN | ; -- test the current policy set [expects DITOP]
|
|
| ACTION() | ; -- select App Action to use for testing
|
|
| IENS(FN) | ; -- get IENS string for file number FN [lookup if FN?]
|
|
| I1 | ||
| VIENS(IENS,FN) | ; -- validate IENS string for file# FN
|
|
| ATTRBS | ; -- prompt for test attributes
|
|
| LIST | ; -- return DILIST("attribute") of targets used by DIPOL
|
|
| POP | ; -- pop the stack [set]
|
|
| PROC | ; -- process member DIMEM
|
|
| HELPATT | ; -- help for ATTRBS
|
|
| USER() | ; -- select test user from #200
|
|
| TRACE() | ; -- show trace of policies/rules evaluated?
|
|
| SHOWVAR | ; -- show variables
|
|
| SHOWTMP(TYPE) | ; -- display messages from ^TMP
|
|
| SHOWTRC | ; -- display DIZTRACE of processing
; DIZTRACE(DIZ) = PolicyIEN ^ stack level ^ match? (1/0) ^ result (P/D) ; or = PolicyIEN ^ stack level ^ done (2) ^ ResultFcnIEN ; DIZTRACE(#,i) = ConditionDA ^ stack level ^ result (1/0) |
|
| FCNM(IEN,CON) | ; -- return NAME(X1,X2,X3) for a function in use
|
|
| TARGET(IEN) | ; -- return target(s) that matched
|
|
| SHOWFLDS | ; -- display DIFLDS string of available fields to access
; DIZTRACE("DR") = ien ^ file# returning the string ; DIFLDS = DR string ; DIFLDS(level,subfile#,n) = DR string |
|
| OUT(X) | ; -- add line to output
|
|
| WRITE | ; -- write ^TMP output to screen
|
|
| WAIT | ; -- wait for ok [returns STOP]
|
|
| BROWSE | ; -- use Browser to show output
|
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|