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

DGA4003.m

Go to the documentation of this file.
  1. DGA4003 ;ALB/MRL - AMIS 420 MESSAGES FROM MAILMAN ;01 JAN 1988@2300
  1. ;;5.3;Registration;;Aug 13, 1993
  1. S XMSUB=DGH,XMDUZ=.5,XMY(DUZ)="" F I=1:1 S J=$P($T(OPEN+I),";;",2) Q:J="QUIT" S DGL=I,DGTEXT(I,0)=J
  1. D MORE Q
  1. PMES ;Pending Message
  1. S XMSUB=DGH,XMDUZ=.5,XMY(DUZ)="" F I=1:1 S J=$P($T(PEND+I),";;",2) Q:J="QUIT" S DGL=I,DGTEXT(I,0)=J
  1. MORE S XMTEXT="DGTEXT(",DGL=DGL+1,DGTEXT(DGL,0)="",DGL=DGL+1,DGTEXT(DGL,0)="Number of PENDING Dispositions found: "_+DGP,DGL=DGL+1,DGTEXT(DGL,0)="Number of OPEN Dispositions found : "_+DGO D ^XMD K XMSUB,XMY,DGTEXT,XMDUZ,I,J,DGL Q
  1. OPEN ;
  1. ;;I've accomplished a preliminary search of your database in preparation for
  1. ;;generation of the AMIS 401-420 series reports for the range shown above. In
  1. ;;this search there were "open" dispositions found which caused the actual gen-
  1. ;;eration of the report to cease. There were, possibly, some "pending" dispos-
  1. ;;itions found also. Although these do not stop the report from generating every
  1. ;;effort should be made to properly disposition these registrations also. A
  1. ;;listing of these open/pending dispositions should have printed for your use in
  1. ;;properly dispositioning them. If you can't locate this list there is an option
  1. ;;available to regenerate this listing without generating the report.
  1. ;;QUIT
  1. PEND ;
  1. ;;I didn't find any "open" dispositions in preparation for generation of the AMIS
  1. ;;401-420 series reports but I did find some "pending" dispositions. Although
  1. ;;these do not stop the report from clearing you should make every effort to
  1. ;;properly disposition these registrations and then regenerate the report. A
  1. ;;listing of these "pending" dispositions should have printed for your use in
  1. ;;properly dispositioning them. If you can't locate this listing there is an
  1. ;;option available to regenerate it without regenerating the report itself.
  1. ;;QUIT
  1. DEL ;Delete Existing 401-420 Data from ^DG(391.1
  1. F DGSEG=401:1:420 F DGDIV=0:0 S DGDIV=$O(^DG(391.1,DGSEG,"D",DGDIV)) Q:'DGDIV K ^DG(391.1,DGSEG,"D",DGDIV,"MY",DGA,"A1")
  1. K DGSEG,DGDIV Q