Produced by Araxis Merge on 11/9/2018 12:33:50 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 | CHLREDC.m | Mon Nov 5 16:44:19 2018 UTC |
2 | CPEE_Build9_Sprint27.zip\HAC_CPE_CH | CHLREDC.m | Fri Nov 9 01:30:40 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 160 |
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 | CHLREDC ;M D/DEN;READ REDBOOK P RODUCT CAT EGORY CODE ;04/24/97 4:45 PM | |
2 | ;V1.0 | |
3 | ZSET S:'$D (DUZ) DUZ= 1,DUZ(0)=" " I '$D(DT ) S %DT="" ,X="T" D ^ %DT S DT=Y | |
4 | S:'$D(IOZ FO) IOZFO= "^^" S:'$D (IOZBK) IO ZBK="^" S: '$D(DTIME) DTIME=60 | |
5 | I '$D(IOZ ) S %IS="N ",IOP=$I D ^%ZIS K I OP S IOZ=I O,IOZL=IOS L,IOZW=IOM ,IOZF=IOF, IOZT=IOST, IOZN=ION,I OZS=IOS | |
6 | ZNAM ; | |
7 | K ^CHMZHO LD("REDPRO D") | |
8 | W @IOZF,! ,"CHAMPVA CENTER - R EAD IN RED BOOK UPDAT E TAPE" | |
9 | A0 W !!,"A re you rea ding from the <T>ape or <F>ile ? " D SBRS | |
10 | Q:$D(DUOU T) Q:$D(D FOUT) I $ D(DQOUT) D G A0 | |
11 | .W !!,"En ter a <T> if reading from the Tape, or" | |
12 | .W !,"Ent er an <F> if reading from a Fi le." | |
13 | Q:Y="" S Y=$E(Y) I "TFtf"'[Y W *7," ?? " G A0 | |
14 | S:Y="t" Y ="T" S:Y=" f" Y="F" S CHSRCE=Y | |
15 | A01 I CHSR CE="F" D F 1 G A0:$D( DFOUT),A0: $D(DUOUT), A01:$D(DQO UT),A0:'$D (CHIO) | |
16 | .W !!,"Fi le Name: V A554A01""D SMVAXMGR p assword"": :HAC_HFS$: [DSMMANAG] TAPERD.DAT //" | |
17 | ;.D SBRS Q:$D(DFOUT ) Q:$D(DU OUT) Q:$D (DQOUT) K CHIO | |
18 | ;.I Y="" D Q | |
19 | ;..S CHIO ="VA5541"" DSMMANAG M EXCOP""::H AC_HFS$:[D SMMANAG]TA PERD.DAT" | |
20 | ;.I Y'?1" VA554"1N.E 1"::".A1"4 ".A1":[".A 1"]".A1"." .E W *7," ??" Q | |
21 | ;.S CHIO= Y | |
22 | W !! S %D T("A")="Pl ease enter REDBOOK d ate (mm/dd /yy) of ta pe: " | |
23 | S %DT="AE X" D ^%DT K %DT S TD =Y | |
24 | ;S ^CHMZH OLD("REDUP ","CHDATE" )=TD ;**N EW MAR 18, 94 | |
25 | G A1:'$D( ^CHMPDX("R EDPROD",TD )) | |
26 | R !!,"Tap e has alre ady been r ead!! Do you wish t o re-read? NO//",X | |
27 | Q:(X="")! ($E(X,1)'= "Y") | |
28 | A1 ;R !!," Enter numb er of reco rds to be read in: ",B | |
29 | S ^CHMPDX ("REDPROD" ,TD)=DT | |
30 | U $I W !! ,"READING IN REDBOOK TAPE..." | |
31 | S I=0 | |
32 | I CHSRCE= "T" D Q:' $T | |
33 | .S $ZT="F ATAL" | |
34 | .O "TAPE1 $":(FORMAT ="AUF5":RE CORDSIZE=1 75:BLOCKSI ZE=700):10 | |
35 | .I '$T U 0 W *7,*7, !!,"Tape d rive not a vailable! Exiting.. ." Q | |
36 | .U "TAPE1 $" W *5 | |
37 | I CHSRCE= "F" O CHIO :"R":697 S $ZE="",$Z T="END^CHL REDC" | |
38 | A2 S I=I+1 | |
39 | ;G A3:B=( I-1) | |
40 | S N=175 | |
41 | U:CHSRCE= "T" "TAPE1 $" U:CHSRC E="F" CHIO R X#N G A 3:($ZA\102 4#2) S:($Z A\16384#2) I=I-1 G A 2:$L(X)=0 S ^CHMZHO LD("REDPRO D",I)=X | |
42 | I I#100=0 U 0 W !,I ," ",$H | |
43 | G A2 | |
44 | A3 I CHSRC E="T" C "T APE1$":DIS MOUNT | |
45 | I CHSRCE= "F" C CHIO | |
46 | ;I B'=(I- 1) W !!,"N umber of r ecords rea d does not equal num ber entere d!!!" | |
47 | U 0 W *7, *7,*7,!!," Tape Is Fi nished!" | |
48 | END ; | |
49 | W !,"*** END OF CHL REDC ***" | |
50 | C CHIO D HOME^%ZIS | |
51 | D ^CHLRED C1 | |
52 | W !,"End of Updatin g Product Category C ode" | |
53 | Q | |
54 | FATAL U 0 W !!!,*7,* 7,"A tape drive erro r has occu red!!",!!, "Error is: ",$ZE | |
55 | G A3 | |
56 | F1 ;K CHIO W !!,"Ent er CPU: VA 5540// " D SBRS Q:$D (DFOUT) Q :$D(DUOUT) | |
57 | ;I $D(DQO UT) D G F 1 | |
58 | ;.W !!,"E nter the C PU name or <RETURN> for the de fault. " | |
59 | ;I Y="" S CHA="VA55 40" G F2 | |
60 | ;I Y'?1"V A554"1N W *7," ??" G F1 | |
61 | ;S CHA=Y | |
62 | F2 ;W !!," Enter Pass word: " D SBRS Q:$D( DFOUT) Q: $D(DUOUT) | |
63 | ;I $D(DQO UT) W !!," Enter the Password o r <RETURN> . " G F2 | |
64 | ;Q:Y="" S CHB=Y | |
65 | F3 ;W !!," Enter File name: " D SBRS Q:$D( DFOUT) Q: $D(DUOUT) | |
66 | ;I $D(DQO UT) W !!," Enter the Filename o r <RETURN> . " G F3 | |
67 | ;Q:Y="" I Y'?.A1". ".A W *7," ??" G F3 | |
68 | S CHC="pr odcat.dos" | |
69 | S CHIO="H ACFS3"" DNS COLEDEC We lcome1!"": :d:[FS3BIG .CODEUPDT. REDBOOK.LI VE]"_CHC | |
70 | F4 W !!,CH IO,!!,"Is this corre ct? " D SB RS | |
71 | Q:$D(DFOU T) Q:$D(D UOUT) I $ D(DQOUT) D G F4 | |
72 | .W !!,"En ter 'Y' or 'N'. " | |
73 | I Y="" W !!,"Enter 'Y' or 'N' . " G F4 | |
74 | S Y=$E(Y, 1) I "ynYN "'[Y W *7, " ??" G F4 | |
75 | G F1:"Nn" [Y Q | |
76 | SBRS R Y:$ S($D(DTIME ):DTIME,1: 60) | |
77 | I '$T W * 7 R Y:5 G SBRS:Y="." S:'$T Y=I OZFO | |
78 | SBRS1 K DF OUT,DUOUT, DQOUT S:'$ D(IOZFO) I OZFO="^^" S:'$D(IOZB K) IOZBK=" ^" | |
79 | I IOZFO=Y W:$D(IOZF ) @IOZF S (DFOUT,Y)= "" Q | |
80 | S:Y=IOZBK (DUOUT,Y) ="" S:Y?1" ?".E!(Y["^ ") (DQOUT, Y)="" | |
81 | Q |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.