Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ASMSOFT

ASMSOFT.m

Go to the documentation of this file.
  1. ASMSOFT ;PRINT SOFTWARE CHANGE BULLETIN [ 10/02/85 12:47 PM ]
  1. ;IHS-OKLA CITY AREA OFFICE-LMD
  1. L1 D ^AUCLS W !!,"SOFTWARE BULLETIN PRINTER......",!! S ASM("PG")=0
  1. L2 S DIC="^AZOSOFT(",DIC(0)="QAZEM" D ^DIC Q:+Y<0 S ASM("SYS")=+Y
  1. L3 W ! S %DT="AEPT" D ^%DT G L1:Y<0 S X=Y
  1. L4 I '$D(^AZOSOFT("C",X,ASM("SYS"))) W *7 G L3
  1. L5 S ASM("DT")=$O(^AZOSOFT("C",Y,ASM("SYS"),0))
  1. L6 G QUE
  1. START S (PG,ASM("PG"))=0 U IO D L7 G CHNG
  1. L7 W @IOF,"Software change bulletin.....",?65,"page ",PG+1,!!!,"SOFTWARE SYSTEM: ",^AZOSOFT(ASM("SYS"),0),!!,"Change number: ",^AZOSOFT(ASM("SYS"),1,ASM("DT"),2),!!,"Change date: "
  1. S Y=^AZOSOFT(ASM("SYS"),1,ASM("DT"),0) X ^DD("DD") W Y,!!,"SOURCE: ",^DD("SITE"),!! S AG("LINE")="=" D LINE Q
  1. CHNG S ASM("PG")=$O(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"))) G END:ASM("PG")="" K ^UTILITY($J,"W")
  1. S X=^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),0) W "ROUTINE: ",$P(X,"^",1),!,?3,"LINE: ",$P(X,"^",2),!! D CHNG1 G CHNG
  1. CHNG1 G CHNG3:'$D(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),1)) S I=0
  1. CHNG1A S I=$O(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),1,I)) G CHNG2:I="" S X=^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),1,I,0),DIWF="W",DIWL=1,DIWR=70 D ^DIWP G CHNG1A
  1. CHNG2 D ^DIWW
  1. CHNG3 G CHNG5:'$D(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),2)) W !!,"PROBLEM",!,"-------",! K ^UTILITY($J,"W") S I=0
  1. CHNG3A S I=$O(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),2,I)) G CHNG3B:I="" S X=^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),2,I,0),DIWL=5 D ^DIWP G CHNG3A
  1. CHNG3B D ^DIWW
  1. CHNG5 G CHNGEND:'$D(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),3)) W !!,"SOLUTION",!,"--------",! K ^UTILITY($J,"W") S I=0
  1. CHNG5A S I=$O(^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),3,I)) G CHNG5B:I="" S X=^AZOSOFT(ASM("SYS"),1,ASM("DT"),1,ASM("PG"),3,I,0) D ^DIWP G CHNG5A
  1. CHNG5B D ^DIWW
  1. CHNGEND D LINE I $Y>40 S PG=PG+1 D L7
  1. Q
  1. END W @IOF X ^%ZIS("C") G ASMSOFT:$D(AU("PRINT")) K AU,ASM Q
  1. LINE S:'$D(AG("PRL")) AG("OLD")="" S:AG("OLD")'=AG("LINE") AG("PRL")="",$P(AG("PRL"),AG("LINE"),79)="",AG("OLD")=AG("LINE") W !,AG("PRL"),! Q
  1. PRQ S ASM("SYS")=^%ZTSK(ZTSK,"SYS"),ASM("DT")=^("DT")
  1. PRQ1 S:$D(^%ZTSK(ZTSK,"SITE")) SITENUM=^%ZTSK(ZTSK,"SITE") S U="^" K ^%ZTSK(ZTSK) G START
  1. QUE D ^%AUQUE G START:$D(AU("PRINT")) Q:'$D(AU("QUE"))
  1. QUE1 S ^%ZTSK(ZTSK,0)="PRQ^ASMSOFT"_^%ZTSK(ZTSK,0),^("SYS")=ASM("SYS"),^("DT")=ASM("DT")
  1. QUEND K ZTSK G ASMSOFT