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

QAOSCNV6.m

Go to the documentation of this file.
  1. QAOSCNV6 ;HISC/DAD-DELETE DESCRIPTIONS ;7/19/93 12:45
  1. ;;3.0;Occurrence Screen;;09/14/1993
  1. ;;
  1. W !!,"Cleaning up OPTION and FIELD descriptions"
  1. W !,"-----------------------------------------"
  1. W !!,"Working"
  1. F QAOSLINE=1:1 S QAOSDATA=$P($T(DATA+QAOSLINE),";;",2) Q:QAOSDATA="" D
  1. . W "."
  1. . I QAOSDATA'>0 D OPTN Q
  1. . E D FLDS Q
  1. K QAOSLINE,QAOSDATA,QAOSOPT,QAOSD0,QAOSDD,QAOSFLD,DIE,DA,DR
  1. Q
  1. OPTN ; *** Delete OPTION file descriptions
  1. S QAOSOPT=QAOSDATA,QAOSD0=0
  1. F S QAOSD0=$O(^DIC(19,"B",QAOSOPT,QAOSD0)) Q:QAOSD0'>0 D
  1. . Q:$P($G(^DIC(19,QAOSD0,0)),"^")'=QAOSOPT
  1. . S DIE="^DIC(19,",DA=QAOSD0,DR="3.5///@"
  1. . D ^DIE
  1. . Q
  1. Q
  1. FLDS ; *** Delete FIELD descriptions
  1. S QAOSDD=$P(QAOSDATA,"^"),QAOSFLD=$P(QAOSDATA,"^",2)
  1. Q:$O(^DD(QAOSDD,QAOSFLD,21,0))'>0
  1. S DIE="^DD("_QAOSDD_",",DA=QAOSFLD,DR="21///@"
  1. D ^DIE
  1. Q
  1. DATA ;; Option_Name OR DD_Number ^ Field_Number
  1. ;;QAOS GENERATE EWS BULLETIN
  1. ;;QAOS RPT REVIEW SUMMARY
  1. ;;741^19
  1. ;;741^22
  1. ;;741^28
  1. ;;741.01^4
  1. ;;741.01^9
  1. ;;741.6^.01