Changeset 523
- Timestamp:
- May 30, 2009, 4:57:19 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CCCR.m
r521 r523 33 33 ; FN IS FILE NAME, DEFAULTS IF NULL 34 34 N CCRGLO,UDIR,UFN 35 S C0CNRPC=1 ; FLAG FOR NOT AN RPC CALL - FOR DEBUGGING THE RPC 35 36 I '$D(DIR) S UDIR="" 36 37 E S UDIR=DIR … … 38 39 E S UFN=FN 39 40 I '$D(XPARMS) S XPARMS="" 40 D CCRRPC(.CCRGLO,DFN,XPARMS,"CCR") 41 N C0CRTN ; RETURN ARRAY 42 D CCRRPC(.CCRRTN,DFN,XPARMS,"CCR") 41 43 S OARY=$NA(^TMP("C0CCCR",$J,DFN,"CCR",1)) 42 44 S ONAM=UFN … … 79 81 I '$D(CCRPARMS) S CCRPARMS="" 80 82 I '$D(CCRPART) S CCRPART="CCR" 83 I '$D(C0CNRPC) S ^TMP("C0CRPC",$H,"CALL",DFN,CCRPARMS,CCRPART)="" 81 84 D SET^C0CPARMS(CCRPARMS) ;SET PARAMETERS WITH CCRPARMS AS OVERRIDES 82 85 I '$D(TESTLAB) S TESTLAB=0 ; FLAG FOR TESTING RESULTS SECTION … … 87 90 S ACTGLO=$NA(^TMP("C0CCCR",$J,DFN,"ACTORS")) ; GLOBAL FOR ALL ACTORS 88 91 ; TO GET PART OF THE CCR RETURNED, PASS CCRPART="PROBLEMS" ETC 89 S CCRGRTN=$NA(^TMP("C0CCCR",$J,DFN,CCRPART)) ; RTN GLO NMOF PART OR ALL92 M CCRGRTN=^TMP("C0CCCR",$J,DFN,CCRPART) ; RTN GLOBAL OF PART OR ALL 90 93 D LOAD^C0CCCR0(TGLOBAL) ; LOAD THE CCR TEMPLATE 91 94 D CP^C0CXPATH(TGLOBAL,CCRGLO) ; COPY THE TEMPLATE TO CCR GLOBAL … … 131 134 . I DEBUG W "TRIMMED",J,! 132 135 . I J=0 S DONE=1 ; DONE WHEN TRIM RETURNS FALSE 136 I '$D(C0CNRPC) S ^TMP("C0CRPC",$H,"RESULT",CCRGRTN(0))="" 133 137 Q 134 138 ;
Note:
See TracChangeset
for help on using the changeset viewer.