Produced by Araxis Merge on 11/9/2018 12:34:03 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | CPEE_Build9_Sprint27.zip\HAC_CPE_CH | CHMLCMB1.m | Mon Nov 5 16:41:11 2018 UTC |
2 | CPEE_Build9_Sprint27.zip\HAC_CPE_CH | CHMLCMB1.m | Fri Nov 9 03:09:36 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 152 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | CHMLCMB1 ; JLR/DEV;RE ADING MAIL MAN MESSAG ES TO CREA TE BENE LI ST;01/05/9 4 9:17 AM | |
2 | ;V1.0 | |
3 | ;G:'$D(ZT SK) END G: '$D(^%ZTSK (ZTSK,0)) END S DUZ= $P(^(0),"^ ",3) | |
4 | ;G:'$D(^% ZTSK(ZTSK, 1)) END S BSK=^(1) | |
5 | S MSG=0 K ^UTILITY( "ZIP") | |
6 | A1 S MSG=$ O(^XMB(3.7 ,DUZ,2,BSK ,1,MSG)) G :'MSG END | |
7 | G:'$D(^XM B(3.7,DUZ, 2,BSK,1,MS G,0)) A1 G :'$D(^XMB( 3.9,MSG)) A1 | |
8 | S J=.99 D TEXT | |
9 | A2 S J=$O( ^XMB(3.9,M SG,2,J)) G :'J A5 G:' $D(^XMB(3. 9,MSG,2,J, 0)) A2 | |
10 | S REC=^(0 ) G:$L(REC )<5 A2 | |
11 | I REC[":" S STAT=$P (REC,":",2 ),BLK=STAT D BLANK S STAT=BLK G:'$D(^DIC (4,STAT,0) ) END D G A2 | |
12 | .S NAME=$ P(^DIC(4,S TAT,0),"^" ,1),NAME=$ P(NAME,"," ,1) | |
13 | .S DOMN="
|
|
14 | F XX=1:1 S ZIP=$P(R EC,",",XX) Q:ZIP="" D | |
15 | .I ZIP["- " D RANGE Q | |
16 | .S BLK=ZI P D BLANK S ZIP=BLK S ^UTILITY ("ZIP",ZIP )="" Q | |
17 | G A2 | |
18 | A5 D BENE D MAIL S ^ CHMZHOLD(" CMAC-BENE- LIST",STAT )="" | |
19 | K ^UTILIT Y("ZIP") G A1 | |
20 | END K ^UTI LITY("ZIP" ) Q | |
21 | BLANK F X= 1:1:($L(BL K)) Q:$E(B LK,X)'=" " | |
22 | S BLK=$E( BLK,X,$L(B LK)) Q | |
23 | RANGE S ZI P1=$P(ZIP, "-",1),ZIP 2=$P(ZIP," -",2) S BL K=ZIP1 D B LANK S ZIP 1=BLK | |
24 | S BLK=ZIP 2 D BLANK S ZIP2=BLK | |
25 | F ZZ=ZIP1 :1:ZIP2 S ^UTILITY(" ZIP",ZZ)=" " | |
26 | Q | |
27 | BENE S DFN =0 | |
28 | B1 S DFN=$ O(^AHCHVA( "EA",DFN)) Q:'DFN S BFN=0 | |
29 | B2 S BFN=$ O(^AHCHVA( "EA",DFN,B FN)) G:'BF N B1 | |
30 | G:'$D(^AH CHVA(DFN,1 00,BFN,1)) B2 S BZIP =$P(^(1)," ^",5) G:BZ IP="" B2 | |
31 | G:'$D(^UT ILITY("ZIP ",BZIP)) B 2 G:'$D(^A HCHVA(DFN, 100,BFN,0) ) B2 | |
32 | S REC0=^( 0),REC1=^( 1) S BSSN= $P(REC0,"^ ",9) | |
33 | S BNAM=$P (REC0,"^", 1),BADD1=$ P(REC1,"^" ,1),BADD2= $P(REC1,"^ ",2) | |
34 | S BCTY=$P (REC1,"^", 3),BSTA=$P (REC1,"^", 4) | |
35 | S PSTA="" I BSTA'=" " S:$D(^DI C(5,BSTA,0 )) PSTA=$P (^(0),"^", 2) | |
36 | S X=BNAM_ "^"_BADD1_ "^"_BADD2_ "^"_BCTY_" ^"_PSTA_"^ "_BZIP D B UILD | |
37 | G B2 | |
38 | MAIL S XMS UB="CITI B eneficiary Listing", XMDUZ=DUZ | |
39 | ;S XMTEXT ="^UTILITY ($J,""W"", 1,",XMY(DO MN)="",U=" ^" D ^XMD | |
40 | S XMTEXT= "^UTILITY( $J,""W"",1 ,",XMY(249 7)="",U="^ " D ^XMD | |
41 | K ^UTILIT Y($J),X,XM TEXT,XMY Q | |
42 | TEXT S LNC NT=1 | |
43 | T1 F I=1:1 S X=$P($T (TXT+I),"; ",2) Q:X=" END" S:$E (X,1,5)=" To:" X=X_ "G.CHAMPVA " S LNCNT= LNCNT+1 D BUILD | |
44 | F I=LNCNT :1:58 S X= "" D BUILD | |
45 | Q | |
46 | DTPRT S Y= "" Q:X'?7N S Y=$E(X ,1,3)+1700 ,%M=+$E(X, 4,5),%D=+$ E(X,6,7) | |
47 | I %M S:%D Y=$E(" ", $L(%D))_%D _", "_Y S Y=$P($P($T (JAN),";;" ,2)," ",%M )_" "_Y | |
48 | Q | |
49 | JAN ;;JAN FEB MAR AP R MAY JUN JUL AUG SE P OCT NOV DEC | |
50 | BUILD D SP ACE I '$D( ^UTILITY($ J,"W",1)) S HOLDJ=0 | |
51 | S JJ=HOLD J+1 S ^UTI LITY($J,"W ",1,JJ,0)= X,HOLDJ=JJ Q | |
52 | SPACE S LE N=$L(X) S TIMES=74-L EN,SPACE=" " F II=1:1 :TIMES S SPACE=SPAC E_" " | |
53 | S X=X_SPA CE Q | |
54 | TXT ; | |
55 | ;From: C HAMPVA Cen ter | |
56 | ; | |
57 | ;Subj: C ITI Benefi ciary List ing | |
58 | ; | |
59 | ; To: | |
60 | ; | |
61 | ; | |
62 | ; 1 . As requ ested, we are provid ing a file of all | |
63 | ; e ligible ac tive CHAMP VA benefic iaries. T his file | |
64 | ; w ill contai n those be neficiarie s that hav e mailing | |
65 | ; a ddresses w ithin the zip codes that were provided | |
66 | ; t o CHAMPVA. | |
67 | ; | |
68 | ; 2 . The rec ords in th is file co ntain name and addre ss | |
69 | ; i nformation for the r equested z ip codes a nd are | |
70 | ; s tructured as follows : | |
71 | ; | |
72 | ; n ame^line 1 address^l ine 2 addr ess^city^s tate^zip c ode | |
73 | ; | |
74 | ; 3 . As alwa ys, questi ons are to be forwar ded to Cin di | |
75 | ; G ramals-Pel letier, CH AMPVA (IRM ) via the establishe d | |
76 | ; C ITI mailgr oup in FOR UM. | |
77 | ;END |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.