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

XMUDTOP.m

Go to the documentation of this file.
XMUDTOP ;ISC-SF/GMB-Top-Level Domain Names ;04/17/2002  11:48
 ;;8.0;MailMan;;Jun 28, 2002
 Q
ENTRY ; Populate file 4.2996 with the proper, recognized top-level domains.
 D DELALL
 D ADD
 Q
DELALL ; Delete all entries.
 N DIK,DA
 S DIK="^DIC(4.2996,"
 S DA=0
 F  S DA=$O(^DIC(4.2996,DA)) Q:'DA  D ^DIK
 K ^DIC(4.2996,"B")
 Q
ADD ; Add entries
 N I,XMFDA,XMIEN,XMREC
 F I=1:1 S X=$T(T+I) Q:X=" ;;"  D
 . S XMREC=$E(X,4,255)
 . S XMIENS="?+1,"
 . S XMFDA(4.2996,XMIENS,.01)=$P(XMREC,U,1)
 . S XMFDA(4.2996,XMIENS,1)=$P(XMREC,U,2)
 . D UPDATE^DIE("","XMFDA")
 . I $D(DIERR) W !,"ERROR=",XMREC
 Q
T ;
 ;;AERO^AIR TRANSPORT INDUSTRY
 ;;BIZ^BUSINESS
 ;;COM^COMMERCIAL
 ;;COOP^NON-PROFIT COOPERATIVE
 ;;EDU^EDUCATIONAL
 ;;GOV^US GOVERNMENT
 ;;INFO^GENERAL USE
 ;;INT^INTERNATIONAL ORGANIZATION
 ;;MIL^US MILITARY
 ;;MUSEUM^ACCREDITED MUSEUM
 ;;NAME^INDIVIDUALS
 ;;NET^NETWORK PROVIDER
 ;;ORG^NON-PROFIT ORGANIZATION
 ;;PRO^PROFESSIONAL
 ;;AC^ASCENSION ISLAND
 ;;AD^ANDORRA
 ;;AE^UNITED ARAB EMIRATES
 ;;AF^AFGHANISTAN
 ;;AG^ANTIGUA AND BARBUDA
 ;;AI^ANGUILLA
 ;;AL^ALBANIA
 ;;AM^ARMENIA
 ;;AN^NETHERLANDS ANTILLES
 ;;AO^ANGOLA
 ;;AQ^ANTARCTICA
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