OCXDI01F ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^OCXDIAG
;
;
K REMOTE,LOCAL,OPCODE,REF
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
;
G ^OCXDI01G
;
Q
;
DATA ;
;
;;R^"863.7:",2,3
;;D^66 = 3 columns
;;R^"863.7:",3,"E"
;;D^FLIST^OCXF1
;;R^"863.7:","863.74:1",.01,"E"
;;D^CLOSED REFERENCE
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^OCXCREF
;;EOR^
;;KEY^863.7:^FAST LOOKUP
;;R^"863.7:",.01,"E"
;;D^FAST LOOKUP
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Fast alternative to a silent DIC lookup
;;R^"863.7:",2,1
;;D^Fast alternative to a silent DIC lookup. Does not support identifires,
;;R^"863.7:",2,2
;;D^DIC("S"),DIC("W") etc.
;;R^"863.7:",3,"E"
;;D^FAST^OCXF2
;;R^"863.7:","863.74:1",.01,"E"
;;D^CLOSED REFERENCE
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^G
;;R^"863.7:","863.74:2",.01,"E"
;;D^LOOKUP VALUE
;;R^"863.7:","863.74:2",1.1,"E"
;;D^2
;;R^"863.7:","863.74:2",1.2,"E"
;;D^X
;;R^"863.7:","863.74:3",.01,"E"
;;D^INDEX STRING
;;R^"863.7:","863.74:3",1.1,"E"
;;D^3
;;R^"863.7:","863.74:3",1.2,"E"
;;D^C
;;EOR^
;;KEY^863.7:^PARAMETER DT ACTION
;;R^"863.7:",.01,"E"
;;D^PARAMETER DT ACTION
;;R^"863.7:",.02,"E"
;;D^PARAMETERIZED SUBROUTINE
;;R^"863.7:",1,"E"
;;D^Collect, validate, transform a parameter value
;;R^"863.7:",2,1
;;D^Given a parameter, a data type action (e.g., 'READ', 'VALIDATE', etc.),
;;R^"863.7:",2,2
;;D^and an override array, do what is requested.
;;R^"863.7:",3,"E"
;;D^PDT^OCXF3
;;R^"863.7:","863.74:1",.01,"E"
;;D^PARAMETER IEN
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^OCXPAR
;;R^"863.7:","863.74:2",.01,"E"
;;D^METHOD
;;R^"863.7:","863.74:2",1.1,"E"
;;D^2
;;R^"863.7:","863.74:2",1.2,"E"
;;D^OCXMSG
;;R^"863.7:","863.74:3",.01,"E"
;;D^OVERRIDE ARRAY
;;R^"863.7:","863.74:3",1.1,"E"
;;D^3
;;R^"863.7:","863.74:3",1.2,"E"
;;D^OCXM
;;EOR^
;;KEY^863.7:^PARAMETER SUBFILE IEN
;;R^"863.7:",.01,"E"
;;D^PARAMETER SUBFILE IEN
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Given an object and a parameter, return the subfile IEN
;;R^"863.7:",2,1
;;D^Given a CLASS, INSTSANCE, and
;;R^"863.7:",2,2
;;D^PARAMETER (IEN), return the subfile IEN
;;R^"863.7:",3,"E"
;;D^PENT^OCXF4
;;R^"863.7:","863.74:1",.01,"E"
;;D^CLASS NUMBER
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^OCXCLS
;;R^"863.7:","863.74:2",.01,"E"
;;D^INTERNAL ENTRY NUMBER
;;R^"863.7:","863.74:2",1.1,"E"
;;D^2
;;R^"863.7:","863.74:2",1.2,"E"
;;D^OCXOBJ
;;R^"863.7:","863.74:3",.01,"E"
;;D^PARAMETER IEN
;;R^"863.7:","863.74:3",1.1,"E"
;;D^3
;;R^"863.7:","863.74:3",1.2,"E"
;;D^OCXPIEN
;;EOR^
;;KEY^863.7:^PARAMETER OUTPUT TRANSFORM
;;R^"863.7:",.01,"E"
;;D^PARAMETER OUTPUT TRANSFORM
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Do an output transform on a parameter value
;;R^"863.7:",2,1
;;D^Given a parameter IEN and an input value, return the external value.
;;R^"863.7:",3,"E"
;;D^POT^OCXF4
;;R^"863.7:","863.74:1",.01,"E"
;;D^INPUT VALUE
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^OCXVAL
;;R^"863.7:","863.74:2",.01,"E"
;;D^PARAMETER IEN
;;R^"863.7:","863.74:2",1.1,"E"
;;D^2
;;R^"863.7:","863.74:2",1.2,"E"
;;D^OCXDA
;;EOR^
;;KEY^863.7:^SETPARAM
;;R^"863.7:",.01,"E"
;;D^SETPARAM
;;R^"863.7:",.02,"E"
;;D^PARAMETERIZED SUBROUTINE
;;R^"863.7:",1,"E"
;;D^Given an object, return all of its parameter values in an array
;;R^"863.7:",2,1
;;D^Given a class and instance, return all parameter values inthe specified
;;R^"863.7:",2,2
;;D^array. Array subscripts can be the full or brief name.
;;R^"863.7:",3,"E"
;;D^SETPARAM^OCXF4
;;R^"863.7:","863.74:1",.01,"E"
;;D^CLASS NAME
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^OCXCLASS
;;R^"863.7:","863.74:2",.01,"E"
;;D^INTERNAL ENTRY NUMBER
;;R^"863.7:","863.74:2",1.1,"E"
;;D^2
;;R^"863.7:","863.74:2",1.2,"E"
;;D^OCXINST
;;R^"863.7:","863.74:3",.01,"E"
;;D^CLOSED REFERENCE
;;R^"863.7:","863.74:3",1.1,"E"
;;D^3
;;R^"863.7:","863.74:3",1.2,"E"
;;D^OCXA
;;R^"863.7:","863.74:4",.01,"E"
;;D^BRIEF NAME OK
;;R^"863.7:","863.74:4",1.1,"E"
;;D^4
;;R^"863.7:","863.74:4",1.2,"E"
;;D^OCXBRF
;;EOR^
;;KEY^863.7:^PARAMETER VALUE
;;R^"863.7:",.01,"E"
;;D^PARAMETER VALUE
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Get a valid parameter value from the user
;;R^"863.7:",2,1
;;D^Given a PARAMETER IEN, get a valid param value from the user.
;;R^"863.7:",3,"E"
;;D^VAL^OCXF4
;;R^"863.7:","863.74:1",.01,"E"
;;D^PARAMETER IEN
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^OCXINST
;;R^"863.7:","863.74:2",.01,"E"
;;D^DEFAULT VALUE
;;R^"863.7:","863.74:2",1.1,"E"
;;D^2
;;R^"863.7:","863.74:2",1.2,"E"
;;D^D
;;R^"863.7:","863.74:3",.01,"E"
;1;
;
OCXDI01F ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^OCXDIAG
+3 ;
+4 ;
+5 KILL REMOTE,LOCAL,OPCODE,REF
+6 FOR LINE=1:1:500
SET TEXT=$PIECE($TEXT(DATA+LINE),";",2,999)
IF TEXT
QUIT
IF $LENGTH(TEXT)
Begin DoDot:1
+7 SET ^TMP("OCXDIAG",$JOB,$ORDER(^TMP("OCXDIAG",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
IF QUIT
QUIT
+8 ;
+9 GOTO ^OCXDI01G
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.7:",2,3
+3 ;;D^66 = 3 columns
+4 ;;R^"863.7:",3,"E"
+5 ;;D^FLIST^OCXF1
+6 ;;R^"863.7:","863.74:1",.01,"E"
+7 ;;D^CLOSED REFERENCE
+8 ;;R^"863.7:","863.74:1",1.1,"E"
+9 ;;D^1
+10 ;;R^"863.7:","863.74:1",1.2,"E"
+11 ;;D^OCXCREF
+12 ;;EOR^
+13 ;;KEY^863.7:^FAST LOOKUP
+14 ;;R^"863.7:",.01,"E"
+15 ;;D^FAST LOOKUP
+16 ;;R^"863.7:",.02,"E"
+17 ;;D^EXTRINSIC FUNCTION
+18 ;;R^"863.7:",1,"E"
+19 ;;D^Fast alternative to a silent DIC lookup
+20 ;;R^"863.7:",2,1
+21 ;;D^Fast alternative to a silent DIC lookup. Does not support identifires,
+22 ;;R^"863.7:",2,2
+23 ;;D^DIC("S"),DIC("W") etc.
+24 ;;R^"863.7:",3,"E"
+25 ;;D^FAST^OCXF2
+26 ;;R^"863.7:","863.74:1",.01,"E"
+27 ;;D^CLOSED REFERENCE
+28 ;;R^"863.7:","863.74:1",1.1,"E"
+29 ;;D^1
+30 ;;R^"863.7:","863.74:1",1.2,"E"
+31 ;;D^G
+32 ;;R^"863.7:","863.74:2",.01,"E"
+33 ;;D^LOOKUP VALUE
+34 ;;R^"863.7:","863.74:2",1.1,"E"
+35 ;;D^2
+36 ;;R^"863.7:","863.74:2",1.2,"E"
+37 ;;D^X
+38 ;;R^"863.7:","863.74:3",.01,"E"
+39 ;;D^INDEX STRING
+40 ;;R^"863.7:","863.74:3",1.1,"E"
+41 ;;D^3
+42 ;;R^"863.7:","863.74:3",1.2,"E"
+43 ;;D^C
+44 ;;EOR^
+45 ;;KEY^863.7:^PARAMETER DT ACTION
+46 ;;R^"863.7:",.01,"E"
+47 ;;D^PARAMETER DT ACTION
+48 ;;R^"863.7:",.02,"E"
+49 ;;D^PARAMETERIZED SUBROUTINE
+50 ;;R^"863.7:",1,"E"
+51 ;;D^Collect, validate, transform a parameter value
+52 ;;R^"863.7:",2,1
+53 ;;D^Given a parameter, a data type action (e.g., 'READ', 'VALIDATE', etc.),
+54 ;;R^"863.7:",2,2
+55 ;;D^and an override array, do what is requested.
+56 ;;R^"863.7:",3,"E"
+57 ;;D^PDT^OCXF3
+58 ;;R^"863.7:","863.74:1",.01,"E"
+59 ;;D^PARAMETER IEN
+60 ;;R^"863.7:","863.74:1",1.1,"E"
+61 ;;D^1
+62 ;;R^"863.7:","863.74:1",1.2,"E"
+63 ;;D^OCXPAR
+64 ;;R^"863.7:","863.74:2",.01,"E"
+65 ;;D^METHOD
+66 ;;R^"863.7:","863.74:2",1.1,"E"
+67 ;;D^2
+68 ;;R^"863.7:","863.74:2",1.2,"E"
+69 ;;D^OCXMSG
+70 ;;R^"863.7:","863.74:3",.01,"E"
+71 ;;D^OVERRIDE ARRAY
+72 ;;R^"863.7:","863.74:3",1.1,"E"
+73 ;;D^3
+74 ;;R^"863.7:","863.74:3",1.2,"E"
+75 ;;D^OCXM
+76 ;;EOR^
+77 ;;KEY^863.7:^PARAMETER SUBFILE IEN
+78 ;;R^"863.7:",.01,"E"
+79 ;;D^PARAMETER SUBFILE IEN
+80 ;;R^"863.7:",.02,"E"
+81 ;;D^EXTRINSIC FUNCTION
+82 ;;R^"863.7:",1,"E"
+83 ;;D^Given an object and a parameter, return the subfile IEN
+84 ;;R^"863.7:",2,1
+85 ;;D^Given a CLASS, INSTSANCE, and
+86 ;;R^"863.7:",2,2
+87 ;;D^PARAMETER (IEN), return the subfile IEN
+88 ;;R^"863.7:",3,"E"
+89 ;;D^PENT^OCXF4
+90 ;;R^"863.7:","863.74:1",.01,"E"
+91 ;;D^CLASS NUMBER
+92 ;;R^"863.7:","863.74:1",1.1,"E"
+93 ;;D^1
+94 ;;R^"863.7:","863.74:1",1.2,"E"
+95 ;;D^OCXCLS
+96 ;;R^"863.7:","863.74:2",.01,"E"
+97 ;;D^INTERNAL ENTRY NUMBER
+98 ;;R^"863.7:","863.74:2",1.1,"E"
+99 ;;D^2
+100 ;;R^"863.7:","863.74:2",1.2,"E"
+101 ;;D^OCXOBJ
+102 ;;R^"863.7:","863.74:3",.01,"E"
+103 ;;D^PARAMETER IEN
+104 ;;R^"863.7:","863.74:3",1.1,"E"
+105 ;;D^3
+106 ;;R^"863.7:","863.74:3",1.2,"E"
+107 ;;D^OCXPIEN
+108 ;;EOR^
+109 ;;KEY^863.7:^PARAMETER OUTPUT TRANSFORM
+110 ;;R^"863.7:",.01,"E"
+111 ;;D^PARAMETER OUTPUT TRANSFORM
+112 ;;R^"863.7:",.02,"E"
+113 ;;D^EXTRINSIC FUNCTION
+114 ;;R^"863.7:",1,"E"
+115 ;;D^Do an output transform on a parameter value
+116 ;;R^"863.7:",2,1
+117 ;;D^Given a parameter IEN and an input value, return the external value.
+118 ;;R^"863.7:",3,"E"
+119 ;;D^POT^OCXF4
+120 ;;R^"863.7:","863.74:1",.01,"E"
+121 ;;D^INPUT VALUE
+122 ;;R^"863.7:","863.74:1",1.1,"E"
+123 ;;D^1
+124 ;;R^"863.7:","863.74:1",1.2,"E"
+125 ;;D^OCXVAL
+126 ;;R^"863.7:","863.74:2",.01,"E"
+127 ;;D^PARAMETER IEN
+128 ;;R^"863.7:","863.74:2",1.1,"E"
+129 ;;D^2
+130 ;;R^"863.7:","863.74:2",1.2,"E"
+131 ;;D^OCXDA
+132 ;;EOR^
+133 ;;KEY^863.7:^SETPARAM
+134 ;;R^"863.7:",.01,"E"
+135 ;;D^SETPARAM
+136 ;;R^"863.7:",.02,"E"
+137 ;;D^PARAMETERIZED SUBROUTINE
+138 ;;R^"863.7:",1,"E"
+139 ;;D^Given an object, return all of its parameter values in an array
+140 ;;R^"863.7:",2,1
+141 ;;D^Given a class and instance, return all parameter values inthe specified
+142 ;;R^"863.7:",2,2
+143 ;;D^array. Array subscripts can be the full or brief name.
+144 ;;R^"863.7:",3,"E"
+145 ;;D^SETPARAM^OCXF4
+146 ;;R^"863.7:","863.74:1",.01,"E"
+147 ;;D^CLASS NAME
+148 ;;R^"863.7:","863.74:1",1.1,"E"
+149 ;;D^1
+150 ;;R^"863.7:","863.74:1",1.2,"E"
+151 ;;D^OCXCLASS
+152 ;;R^"863.7:","863.74:2",.01,"E"
+153 ;;D^INTERNAL ENTRY NUMBER
+154 ;;R^"863.7:","863.74:2",1.1,"E"
+155 ;;D^2
+156 ;;R^"863.7:","863.74:2",1.2,"E"
+157 ;;D^OCXINST
+158 ;;R^"863.7:","863.74:3",.01,"E"
+159 ;;D^CLOSED REFERENCE
+160 ;;R^"863.7:","863.74:3",1.1,"E"
+161 ;;D^3
+162 ;;R^"863.7:","863.74:3",1.2,"E"
+163 ;;D^OCXA
+164 ;;R^"863.7:","863.74:4",.01,"E"
+165 ;;D^BRIEF NAME OK
+166 ;;R^"863.7:","863.74:4",1.1,"E"
+167 ;;D^4
+168 ;;R^"863.7:","863.74:4",1.2,"E"
+169 ;;D^OCXBRF
+170 ;;EOR^
+171 ;;KEY^863.7:^PARAMETER VALUE
+172 ;;R^"863.7:",.01,"E"
+173 ;;D^PARAMETER VALUE
+174 ;;R^"863.7:",.02,"E"
+175 ;;D^EXTRINSIC FUNCTION
+176 ;;R^"863.7:",1,"E"
+177 ;;D^Get a valid parameter value from the user
+178 ;;R^"863.7:",2,1
+179 ;;D^Given a PARAMETER IEN, get a valid param value from the user.
+180 ;;R^"863.7:",3,"E"
+181 ;;D^VAL^OCXF4
+182 ;;R^"863.7:","863.74:1",.01,"E"
+183 ;;D^PARAMETER IEN
+184 ;;R^"863.7:","863.74:1",1.1,"E"
+185 ;;D^1
+186 ;;R^"863.7:","863.74:1",1.2,"E"
+187 ;;D^OCXINST
+188 ;;R^"863.7:","863.74:2",.01,"E"
+189 ;;D^DEFAULT VALUE
+190 ;;R^"863.7:","863.74:2",1.1,"E"
+191 ;;D^2
+192 ;;R^"863.7:","863.74:2",1.2,"E"
+193 ;;D^D
+194 ;;R^"863.7:","863.74:3",.01,"E"
+195 ;1;
+196 ;