source: FOIAVistA/tag/r/NOIS-FSC/FSCRPCSL.m@ 1282

Last change on this file since 1282 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 678 bytes
Line 
1FSCRPCSL ;SLC/STAFF-NOIS RPC Save List ;2/4/97 20:52
2 ;;1.1;NOIS;;Sep 06, 1998
3 ;
4TEMP(IN,OUT) ; from FSCRPX (RPCSaveTempList)
5 N CALL,LINE,LIST,LISTFLAG,LISTSNUM,SAVETYPE
6 S LISTFLAG=+$G(^TMP("FSCRPC",$J,"INPUT",1)),LIST=+$P($G(^(1)),U,2),SAVETYPE=$P($G(^(1)),U,3)
7 D MRU^FSCMR(DUZ,LIST)
8 I SAVETYPE="REPLACE" D
9 .S CALL=0 F S CALL=$O(^FSCD("LISTS","ALC",LIST,CALL)) Q:CALL<1 S LISTSNUM=+$O(^(CALL,0)) I LISTSNUM D DELETE^FSCLMPS(LISTSNUM)
10 I LISTFLAG D
11 .S CALL=0 F S CALL=$O(^TMP("FSC CURRENT LIST",$J,"C",CALL)) Q:CALL<1 D ADD^FSCLMPS(CALL,LIST)
12 E D
13 .S LINE=1 F S LINE=$O(^TMP("FSCRPC",$J,"INPUT",LINE)) Q:LINE<1 S CALL=+^(LINE) I CALL D ADD^FSCLMPS(CALL,LIST)
14 Q
Note: See TracBrowser for help on using the repository browser.