Sanity Report using Ruleset Memes: Fri Jun 09 14:51:21 PDT 2000


This report is automatically produced by a Tcl script called RulesCheck.
Fri Jun 09 14:51:22 PDT 2000 Phase 1: Collect named datasets
Fri Jun 09 14:51:25 PDT 2000 Phase 2: Start rules check
Fri Jun 09 14:52:06 PDT 2000 Phase 3: Start recursive inclusion check


ERROR ============================================================= ERROR


Got 730 BundleMids, but there are 365 bundles in metabase.dbo.Mbundles


Rule002 ============================================================= Rule002


Every meme must have a syty. 

Exceptions:	NOST1            END                          
		Documentary      IP                           
		Documentary      ASCII                        
		Documentary      Video                        
		Documentary      ImageStatus                  
		Documentary      CCDctrl                      
		Documentary      DewarPower                   
		Documentary      ClockBias                    


Rule003 ============================================================= Rule003


Every meme must have a format id. 

Exceptions:	There are 643 exceptions to this rule (IDs below).  
		You have a serious problem.
		1121 1139 1144 1145 1154 1163 1238 1239 1257 1258 1260 1261 
		1276 1296 1297 1298 1299 1302 1324 1334 1352 1361 1397 1400 
		1401 1405 1407 1416 1427 1428 1451 1452 1477 1487 1488 1489 
		1497 1515 1576 1664 1665 1666 1667 1668 1669 1670 1671 1672 
		1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 
		1712 1716 1718 1719 1720 1723 1724 1726 1730 1742 1745 1759 
		1760 1764 1769 1780 1782 1786 1787 1788 1789 1792 1793 2013 
		2014 2015 2016 2036 2066 2069 2075 2084 2100 2109 2117 2120 
		2127 2131 2133 2135 2136 2139 2140 2183 2185 2186 2194 2199 
		2208 2212 2213 2214 2215 2216 2217 2218 2220 2221 2222 2223 
		2224 2225 2226 2228 2229 2230 2231 2232 2256 2257 2258 2259 
		2260 2261 2262 2271 2272 2273 2274 2278 2280 2281 2297 2298 
		2301 2302 2303 2304 2305 2307 2309 2311 2312 2313 2314 2315 
		2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2330 2331 
		2332 2333 2334 2335 2336 2337 2338 2339 2340 2342 2344 2345 
		2346 2348 2349 2350 2351 2354 2355 2356 2366 2367 2418 2420 
		2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2434 2435 
		2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 
		2448 2449 2450 2451 2452 2453 2456 2457 2458 2459 2466 2467 
		2484 2485 2494 2495 2522 2523 2530 2533 2539 2540 2541 2560 
		2561 2562 2563 2564 2565 2566 2567 2568 2569 2574 2575 2578 
		2580 2746 2769 2793 2816 2839 2862 2885 2908 2931 2954 2977 
		3000 3023 3075 3098 3105 3106 3110 3114 3115 3116 3139 3162 
		3185 3208 3231 3254 3299 3310 3317 3324 3330 3336 3344 3352 
		3353 3354 3355 3356 3362 3363 3364 3370 3399 3401 3402 3403 
		3404 3405 3406 3443 3476 3499 3522 3548 3572 3607 3608 3609 
		3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 
		3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 
		3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 
		3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 
		3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 
		3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 
		3682 3683 3685 3686 3687 3694 3700 3702 3703 3705 3715 3772 
		4060 4193 4194 4195 4196 4212 4217 4218 4219 4220 4221 4225 
		4248 4249 4257 4259 4516 4517 4518 4519 4520 4521 4522 4523 
		4524 4525 4526 4528 4529 4530 4534 4563 4564 4565 4570 4571 
		4575 4576 4582 4590 4615 4629 4644 4645 4646 4647 4648 4670 
		4671 4672 4673 4674 4675 4679 4683 4684 4688 4693 4694 4695 
		4699 4703 4707 4716 4717 4721 4725 4729 4734 4739 4740 4763 
		4786 4792 4804 4808 4809 4811 4812 4813 4814 4815 4816 4817 
		4818 4819 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 
		4832 4833 4834 4845 4846 4857 4858 4859 4860 4861 4862 4863 
		4864 4874 4876 4877 4878 4885 4886 4901 4905 4939 4940 4941 
		4942 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 
		5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 
		5015 5016 5017 5018 5019 5020 5021 5022 5023 5026 5027 5028 
		5029 5030 5031 5032 5033 5037 5041 5045 5049 5053 5054 5055 
		5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 
		5068 5069 5070 5072 5073 5074 5076 5079 5085 5086 5087 5098 
		5109 5110 5133 5134 5135 5145 5146 5154 5155 5168 5173 5180 
		5183 5186 5199 5200 5201 5208 5209 5217 5220 5221 5222 5228 
		5229 5230 5231 5258 5259 5288 5290 5292 5294 5295 5296 5298 
		5299 5300 5301 5302 5303 5304 5328 5329 5330 5335 5339 5340 
		5356 5364 5372 5377 5402 5403 5404 


Rule006 ============================================================= Rule006


Maxv cannot be less than minv. 

Exceptions:	NOST1            NAXISn           int         
		NOST1TABLE       NAXISn           int         
		cleanup          COLLTIP          real        
		cleanup          COLLTILT         real        


Rule008 ============================================================= Rule008


Nominal maxv cannot be greater than maxv. 

Exceptions:	cleanup          COLLTIP          real        
		cleanup          COLLTILT         real        


Rule009 ============================================================= Rule009


Nominal minv cannot be less than minv. 

Exceptions:	KECK1CCD         UTBM15V          real        
		esi              TVFILTRG         int         
		esi              TVFILVAL         real        
		cleanup          COLLTIP          real        
		cleanup          COLLTILT         real        
		esi              IMFLTRAW         int         
		esi              IMFLTVAL         real        
		esi              IMFLTTRG         int         
		esi              LDFLTRAW         int         
		esi              LDFLTVAL         real        
		esi              LDFLTTRG         int         


Rule010 ============================================================= Rule010


Any meme with a repeat mid must have a separator char. 

Exceptions:	There are 926 exceptions to this rule (IDs below).  
		You have a serious problem.
		10 20 1373 2747 2748 2749 2750 2751 2752 2753 2755 2756 2757 
		2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2794 
		2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 
		2807 2808 2809 2810 2811 2812 2813 2814 2815 2817 2818 2819 
		2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 
		2832 2833 2834 2835 2836 2837 2838 2840 2841 2842 2843 2844 
		2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 
		2857 2858 2859 2860 2861 2863 2864 2865 2866 2867 2868 2869 
		2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 
		2882 2883 2884 2886 2887 2888 2889 2890 2891 2892 2893 2894 
		2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 
		2907 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 
		2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2932 
		2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 
		2945 2946 2947 2948 2949 2950 2951 2952 2953 2955 2956 2957 
		2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 
		2970 2971 2972 2973 2974 2975 2976 2978 2979 2980 2981 2982 
		2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 
		2995 2996 2997 2998 2999 3001 3002 3003 3004 3005 3006 3007 
		3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 
		3020 3021 3022 3024 3025 3026 3027 3028 3029 3030 3031 3032 
		3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 
		3045 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 
		3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3140 
		3141 3142 3143 3144 3145 3146 3148 3149 3150 3151 3152 3153 
		3154 3155 3156 3157 3158 3159 3160 3161 3163 3164 3165 3166 
		3167 3168 3169 3171 3172 3173 3174 3175 3176 3177 3178 3179 
		3180 3181 3182 3183 3184 3186 3187 3189 3190 3191 3192 3193 
		3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 
		3206 3207 3209 3210 3212 3213 3214 3215 3217 3218 3219 3220 
		3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3232 3233 
		3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 
		3246 3247 3248 3249 3250 3251 3252 3253 3255 3256 3258 3259 
		3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 
		3272 3273 3274 3275 3276 3300 3301 3302 3303 3306 3308 3309 
		3311 3312 3313 3314 3315 3316 3318 3319 3320 3321 3322 3323 
		3325 3326 3327 3328 3329 3331 3332 3333 3334 3335 3337 3338 
		3339 3340 3341 3342 3343 3345 3346 3347 3348 3349 3350 3351 
		3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 
		3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3500 3501 
		3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 
		3514 3515 3516 3517 3518 3519 3520 3521 3523 3524 3525 3526 
		3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 
		3539 3540 3541 3542 3543 3544 3545 3546 3547 3549 3550 3551 
		3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 
		3564 3565 3566 3567 3568 3569 3573 3574 3575 3576 3577 3578 
		3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 
		3591 3592 3593 3595 4577 4578 4579 4580 4581 4583 4584 4585 
		4586 4587 4588 4589 4591 4592 4595 4597 4598 4599 4600 4601 
		4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4616 
		4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 
		4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 
		4642 4643 4685 4686 4687 4700 4701 4702 4704 4705 4706 4708 
		4709 4710 4713 4714 4715 4718 4719 4720 4722 4723 4724 4726 
		4727 4728 4730 4731 4732 4733 4735 4736 4737 4738 4741 4742 
		4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 
		4755 4756 4757 4758 4759 4760 4761 4762 4764 4765 4766 4767 
		4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 
		4780 4781 4782 4783 4784 4785 4787 4788 4789 4790 4791 4793 
		4794 4795 4796 4797 4798 4799 4801 4802 4821 4836 4837 4838 
		4851 4852 4853 4854 4855 4856 4867 4868 4869 4870 4879 4880 
		4881 4882 4883 4884 4891 4892 4893 4894 4895 4896 4897 4902 
		4903 4904 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 
		4916 4917 4918 4927 4928 4929 4930 4931 4932 4933 4934 4935 
		4936 4937 4938 4953 5038 5039 5040 5042 5043 5044 5046 5047 
		5048 5050 5051 5052 5088 5089 5090 5091 5092 5093 5094 5095 
		5096 5097 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 
		5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 
		5124 5125 5126 5127 5147 5181 5182 5184 5185 5197 5202 5210 
		5212 5213 5214 5215 5216 5218 5219 5224 5225 5232 5233 5234 
		5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5247 5248 
		5249 5250 5251 5252 5266 5305 5306 5307 5308 5309 5310 5311 
		5312 5313 5314 5315 5316 5317 5318 5319 5320 5322 5331 5332 
		5333 5337 5341 5342 5343 5344 5345 5346 5347 5352 5353 5355 
		5357 5358 5359 5360 5361 5362 5363 5365 5366 5367 5368 5369 
		5370 5371 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 
		5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 
		5400 


Rule011 ============================================================= Rule011


All memes are supposed to have full semantic descriptions. 

Exceptions:	There are 731 exceptions to this rule (IDs below).  
		You have a serious problem.
		6 8 9 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 
		34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 
		55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 
		76 77 78 79 80 81 82 83 84 86 87 88 91 92 93 94 95 96 97 98 
		99 100 101 102 103 104 105 109 114 115 116 117 118 119 120 121 
		122 123 124 125 126 127 128 131 132 133 138 141 142 143 144 
		145 146 147 148 149 150 151 152 154 155 156 157 158 159 160 
		161 162 163 164 165 168 169 170 171 172 173 175 176 177 178 
		179 180 181 182 184 185 186 187 188 189 190 191 192 193 194 
		195 196 197 198 199 200 201 202 203 204 206 207 208 209 210 
		211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 
		226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 
		241 242 258 261 262 263 264 265 271 275 276 277 278 279 280 
		281 282 283 284 285 286 287 288 289 291 298 299 300 301 302 
		303 304 305 306 307 308 309 310 311 312 313 318 319 320 321 
		322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 
		337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 
		352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 
		367 368 369 370 371 372 373 374 379 380 381 382 406 407 408 
		409 415 416 417 418 419 420 421 422 423 424 425 427 428 429 
		432 433 434 495 497 526 527 529 530 531 532 533 534 535 538 
		540 541 542 543 544 545 546 548 549 552 553 554 555 556 557 
		558 559 565 566 567 568 569 570 571 572 573 574 575 576 577 
		578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 
		593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 
		608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 
		623 624 625 626 627 628 629 630 631 632 633 635 636 637 639 
		640 641 642 643 644 645 647 648 649 650 651 652 653 654 655 
		656 657 658 1406 1407 3368 3369 3371 3372 3373 3374 3375 3376 
		3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 
		3390 3392 3393 3394 3395 3396 3397 3398 3400 4261 4262 4263 
		4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 
		4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 
		4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 
		4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 
		4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 
		4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 
		4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 
		4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 
		4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 
		4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 
		4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 
		4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 
		4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 
		4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 
		4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 
		4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 
		4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 
		4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 
		4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 
		4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 
		4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 


Rule016 ============================================================= Rule016


Memes with a map_mid but no mmaps must be a format conversion, 
so isa_mid cannot be null. 

Exceptions:	HIRES1           CAFDITH          varchar(68) 
		HIRES1           COFDITH          varchar(68) 
		HIRES1           DECKDITH         varchar(68) 
		HIRES1           ECHDITH          varchar(68) 
		HIRES1           FIL1DITH         varchar(68) 
		HIRES1           FIL2DITH         varchar(68) 
		HIRES1           LFILDITH         varchar(68) 
		HIRES1           LSELDITH         varchar(68) 
		HIRES1           SHUTSTAT         int         
		HIRES1           SLITDITH         varchar(68) 
		HIRES1           TVADITH          varchar(68) 
		HIRES1           TVFDITH          varchar(68) 
		HIRES1           TVF1DITH         varchar(68) 
		HIRES1           TVF2DITH         varchar(68) 
		HIRES1           XDDITH           varchar(68) 
		template         manual.SEL       varchar(68) 
		KECKDCS2         POTOTAL          varchar(68) 
		template         pulse.stage.TRG  varchar(68) 
		hexm             PMTTEST          varchar(68) 
		hexm             PMTCOL           char(5)     
		hexm             PMTSTART         char(5)     
		KeckCCD.ESI      DWRMANF          varchar(68) 


Rule022 ============================================================= Rule022


If mmaps but no map_mid, then it's a list of legit values. In 
which case par_val must be null. 

Exceptions:	There are 68 exceptions to this rule (IDs below).  
		You have a serious problem.
		5128 3596 3358 3360 3361 4694 5211 5226 5245 5246 4227 4228 
		4229 4230 4231 4232 5256 4233 5257 4234 4235 4236 4237 4238 
		4239 4240 4241 4243 4244 4245 4246 4247 4258 5036 4527 5297 
		4531 4532 2496 2497 4820 4568 4569 2524 2017 2018 2019 2020 
		2021 2022 2023 2024 2025 2026 2027 2283 2028 2284 4844 2029 
		2030 2031 2032 4848 2034 2290 2035 2039 


Rule023 ============================================================= Rule023


If you have a map_mid and maps with non-null res_vals, then 
you must be a table lookup. So you must have an ISA. 

Exceptions:	There are 51 exceptions to this rule (IDs below).  
		You have a serious problem.
		1075 1076 1077 1098 110 1616 1996 2000 2291 2292 2577 261 3595 
		379 380 382 4288 4302 4354 4355 4369 4398 4431 4433 4461 4503 
		4504 4505 4689 472 4898 4912 4913 506 507 5082 5084 510 511 
		5111 5129 5132 516 5401 546 552 559 75 76 77 8 


Rule024 ============================================================= Rule024


If you are an mmaps record belonging to a meme with a map_mid 
and you have res_val, then you are a table lookup and you MUST 
have a par_val. 

Exceptions:	NOST1            BITPIX           tinyint     
		KECK1DCS         AUTSTAT          varchar(68) 
		pfcam            TVHRZORD         int         
		pfcam            TVFILORD         int         
		pfcam            DWFILORD         int         
		pfcam            DWFOCORD         int         
		NOST1+Y2K        TIMESYS          varchar(68) 
		DEMO             DEMOORD          int         
		template         dc.stage.ORD     int         
		IRCAL            APWHLORD         int         
		IRCAL            FLTR1ORD         int         
		IRCAL            FLTR2ORD         int         


Rule025 ============================================================= Rule025


If you are an mmaps record belonging to a meme with a map_mid 
and you have res_val, then you are a table lookup and you should 
NOT have a par_mid. 

Exceptions:	There are 90 exceptions to this rule (IDs below).  
		You have a serious problem.
		3588 2827 2828 5389 3086 5390 3087 2836 5396 3095 2850 2851 
		2859 2873 2874 2882 3150 3151 2896 2897 3159 2905 3173 3174 
		2919 2920 3182 2928 3196 3197 2942 2943 3205 2951 4749 4750 
		3219 3220 4756 2965 2966 3228 3485 2974 3486 3492 4772 4773 
		3242 3243 4779 2988 2989 3251 3508 2997 3509 3515 3265 3266 
		3011 3012 2757 2758 3274 3531 3020 3532 2766 3538 3034 3035 
		3043 3557 5093 3558 5094 3564 5104 5105 2804 2805 4599 4600 
		2813 3581 5117 3582 4606 5118 


Rule027 ============================================================= Rule027


If you are the map of a meme and you have null res and you have 
parval and parmid, you are a functional map. If you are a functional 
map, you must have mbundles records. 

Exceptions:	MapUnits         mm               float       


Rule028 ============================================================= Rule028


If you are the par_mid of a functional map, you must also appear 
in the mbundle belonging to the map. check this in the aggregate, 
it's easier: all par_mids of this type must be emids of map-owned 
bundles. 

Exceptions:	Template         HomeOff          int         
		Template         HomeOff1         int         
		Template         HomeSpd1         int         
		Template         HomeAcc1         int         
		Template         HomeDec1         int         
		Template         HomeOff2         int         
		Template         HomeSpd2         int         
		Template         HomeAcc2         int         
		Template         HomeDec2         int         
		Template         HomeOff3         int         
		Template         HomeSpd3         int         
		Template         HomeAcc3         int         
		Template         HomeDec3         int         


Rule029 ============================================================= Rule029


No duplicate meme names should occur within a context. 

Exceptions:	back MynahCmds
		city Database
		email Database
		state Database
		zip Database


Rule030 ============================================================= Rule030


All map_mids should be memes in the context MapTypes. 

Exceptions:	KECK1CCD         DWRN2LVM         varchar(68) 
		KECK1CCD         PWRBLOKM         varchar(68) 
		KECK1CCD         RESN2LVM         varchar(68) 
		KECK1CCD         TEMPDETM         varchar(68) 
		KECK1CCD         TEMPSETM         varchar(68) 
		KECK1CCD         UTBM15VM         varchar(68) 
		KECK1CCD         UTBP15VM         varchar(68) 
		KECK1CCD         UTBP30VM         varchar(68) 
		KECK1CCD         UTBP5VM          varchar(68) 
		KECK1CCD         UTBTEMPM         varchar(68) 
		KECK1CCD         UTBTMPSM         varchar(68) 
		Template         HomeParA         bundle      


Rule031 ============================================================= Rule031


All params to functional maps should be memes from the context 
MapParams. 

Exceptions:	


Rule032 ============================================================= Rule032


If you are a map, your syty should be map. 

Exceptions:	KECK1CCD         DWRN2LVM         varchar(68) 
		KECK1CCD         PWRBLOKM         varchar(68) 
		KECK1CCD         RESN2LVM         varchar(68) 
		KECK1CCD         TEMPDETM         varchar(68) 
		KECK1CCD         TEMPSETM         varchar(68) 
		KECK1CCD         UTBM15VM         varchar(68) 
		KECK1CCD         UTBP15VM         varchar(68) 
		KECK1CCD         UTBP30VM         varchar(68) 
		KECK1CCD         UTBP5VM          varchar(68) 
		KECK1CCD         UTBTEMPM         varchar(68) 
		KECK1CCD         UTBTMPSM         varchar(68) 
		MapTypes         KTLbitmask       int         
		MapUnits         mm               float       
		MapTypes         Unixtime         int         
		MapUnits         AngleAz          float       
		MapUnits         AngleDec         float       
		MapUnits         AngleHA          float       
		MapTypes         KTLenumerated    tinyint     
		MapTypes         KTLboolean       tinyint     
		MapTypes         KTLenumbitmask   int         
		Template         HomeParA         bundle      
		MapUnits         AngleRA          float       


Rule033 ============================================================= Rule033


No maps should ever own mbundle records. 

Exceptions:	MapFuncs         DemoMap          map         
		MapFuncs         Linear           map         
		Template         HomeParA         bundle      


Rule034 ============================================================= Rule034


No maps should ever be bundle elements. 

Exceptions:	KECK1CCD         DWRN2LVM         varchar(68) 
		KECK1CCD         PWRBLOKM         varchar(68) 
		KECK1CCD         RESN2LVM         varchar(68) 
		KECK1CCD         TEMPDETM         varchar(68) 
		KECK1CCD         TEMPSETM         varchar(68) 
		KECK1CCD         UTBM15VM         varchar(68) 
		KECK1CCD         UTBP15VM         varchar(68) 
		KECK1CCD         UTBP30VM         varchar(68) 
		KECK1CCD         UTBP5VM          varchar(68) 
		KECK1CCD         UTBTEMPM         varchar(68) 
		KECK1CCD         UTBTMPSM         varchar(68) 
		MapTypes         Unixtime         int         
		Template         HomeParA         bundle      


Rule035 ============================================================= Rule035


No map should ever have an ISA. 

Exceptions:	KECK1CCD         DWRN2LVM         varchar(68) 
		KECK1CCD         PWRBLOKM         varchar(68) 
		KECK1CCD         RESN2LVM         varchar(68) 
		KECK1CCD         TEMPDETM         varchar(68) 
		KECK1CCD         TEMPSETM         varchar(68) 
		KECK1CCD         UTBM15VM         varchar(68) 
		KECK1CCD         UTBP15VM         varchar(68) 
		KECK1CCD         UTBP30VM         varchar(68) 
		KECK1CCD         UTBP5VM          varchar(68) 
		KECK1CCD         UTBTEMPM         varchar(68) 
		KECK1CCD         UTBTMPSM         varchar(68) 


Rule040 ============================================================= Rule040


Syty is a restricted value field. It can only contain those 
values found in the legit values map for syty, q.v. 

Exceptions:	Sybase_Type
		app
		bundle
		dummy
		numeric
		{}


Rule042 ============================================================= Rule042


If you have an mmap with non-null par_mids then the par_vals 
have to be non_null also. 

Exceptions:	IRCAL            APWHLORD         int         
		IRCAL            FLTR1ORD         int         
		IRCAL            FLTR2ORD         int         


Rule045 ============================================================= Rule045


Certain syty imply that you must have bundle elements. If you 
don't, you're in error. 

Exceptions:	IRAF             ArraySection     tuple       
		TYPEDEFS         ArrayShape       tuple       
		TYPEDEFS         SelfTable        table       
		MultiObjectSpect RawCatalog       table       
		DEMO             KWHAT            tuple       
		DEMO             KWARRINtpl       tuple       
		DEMO             KWINDARR         tuple       
		Documentary      OnLineDoc        table       
		Documentary      FCSDATA          schema      
		Documentary      ScienceImage     table       
		Documentary      AnyData          schema      
		Documentary      KTLchat          schema      
		Documentary      TeleOffs         table       
		Documentary      HeaderKWB        header      
		Documentary      MaskInfo         table       
		Documentary      AlignBoxInfo     table       
		Documentary      DisplayImage     table       
		Documentary      MosaicImage      table       
		pfcam            MANU0            bundle      
		esi              MANU0            bundle      
		esi              MANU1            bundle      
		esi              detector         bundle      
		esi              tserv            bundle      
		pfcam            tserv            bundle      
		deimos           CTRL1            bundle      
		deimos           CTRL2            bundle      
		template         ion.pump.kwd     bundle      
		pfcam            analogU0         bundle      
		NotYet           NotYet           bundle      
		KTLruntime       ErrorLogFile     file        
		KTLruntime       AppLogFile       file        
		KTLruntime       CakeHdrFile      file        
		KTLruntime       CtrlTty          file        
		KTLruntime       TrafficLockFile  file        
		KTLruntime       DispLogFile      file        
		esi              TMPOSS           bundle      
		infoman          sysfile          file        
		infoman          stringfile       file        
		infoman          paramfile        file        
		infoman          dictionary       file        
		KTLruntime       Header_Info      file        
		CommandLine      KTLkwSvcs        bundle      
		CommandLine      FigdispArgs      bundle      
		CommandLine      KTWconfigFile    file        
		CommandLine      ktuiKWDfile      file        
		CommandLine      ktuiDBDfile      file        
		CommandLine      ktuiTCLfile      file        
		DEIMOS           ccd              bundle      
		DEIMOS           ccdinfoman       bundle      
		DEIMOS           infoman          bundle      


Rule046 ============================================================= Rule046


A bundle of one item is nonsense. 

Exceptions:	MapTuples        ISOdate          tuple       
		Template         AnaInpDev        bundle      
		template         term.serv        bundle      
		template         dispatch         bundle      
		esi              LAMParray        bundle      
		KTL              lris             bundle      
		template         lantr.ets        bundle      
		template         lantr.port       bundle      
		esi              POW28S0          bundle      
		esi              POW28S1          bundle      
		esi              IonPumpdev       bundle      
		template         lan.ets          bundle      
		template         lan.ets.port     bundle      
		template         esi.coll         bundle      
		pfcam            IOports          bundle      
		KTL              gdt              bundle      
		esi              AIRPW            bundle      
		esi              IONCUR           bundle      


Rule049 ============================================================= Rule049


Numeric kw should have real limits. 

Exceptions:	There are 345 exceptions to this rule (IDs below).  
		You have a serious problem.
		12 35 37 38 39 40 45 46 47 48 49 50 51 52 53 67 69 70 71 72 
		100 102 103 104 105 124 126 127 128 148 150 151 152 161 163 
		164 165 172 173 180 181 185 200 202 203 204 219 221 222 223 
		224 240 241 242 258 271 284 286 287 288 289 300 301 306 307 
		308 309 310 311 312 313 325 327 328 329 339 341 342 343 353 
		355 356 357 366 368 369 370 408 409 425 427 428 429 473 474 
		487 514 517 518 519 527 529 531 533 534 535 537 540 548 549 
		553 554 555 556 562 563 567 568 571 572 575 576 578 579 580 
		581 584 585 586 587 588 589 590 591 592 593 594 595 596 597 
		598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 
		613 635 641 642 645 646 647 648 649 650 651 652 653 654 655 
		656 658 668 669 670 671 672 678 680 681 685 686 687 688 690 
		691 692 694 695 705 706 707 708 709 719 722 723 724 725 726 
		727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 
		742 743 746 809 811 818 819 820 821 823 1066 1120 1126 1127 
		1151 1167 1172 1173 1174 1189 1192 1194 1195 1196 1197 1198 
		1199 1207 1213 1215 1220 1240 1279 1281 1294 1300 1381 1382 
		1383 1384 1385 1386 1387 1389 1390 1391 1392 1438 1439 1440 
		1450 1615 1761 1851 1860 1863 2246 2749 2750 2796 2810 2811 
		2819 2833 2834 2842 2856 2857 2865 2879 2880 2888 2902 2903 
		2911 2925 2926 2934 2948 2949 2957 2971 2972 2980 2994 2995 
		3003 3017 3018 3026 3040 3041 3078 3092 3093 3142 3143 3156 
		3165 3166 3179 3189 3212 3234 3235 3248 3249 3258 3301 3325 
		3331 3478 3501 3524 3550 3574 4581 4592 4791 4868 4870 4892 
		4915 5147 5213 5249 5333 5345 5361 5369 


Rule050 ============================================================= Rule050


The memes which appear as tmids in Mbundles should be among 
those which are allowed to have bundles. 

Exceptions:	Applications     mbc              app         
		Applications     mbb              app         
		Applications     mbn              app         
		esi              TMPPRSMC         real        


Rule051 ============================================================= Rule051


The memes which appear as tmids in Mbundles should include all 
of those which are required to have bundles. 

Exceptions:	IRAF             ArraySection     tuple       
		TYPEDEFS         ArrayShape       tuple       
		TYPEDEFS         SelfTable        table       
		MultiObjectSpect RawCatalog       table       
		DEMO             KWHAT            tuple       
		DEMO             KWARRINtpl       tuple       
		DEMO             KWINDARR         tuple       
		Documentary      OnLineDoc        table       
		Documentary      FCSDATA          schema      
		Documentary      ScienceImage     table       
		Documentary      AnyData          schema      
		Documentary      KTLchat          schema      
		Documentary      TeleOffs         table       
		Documentary      HeaderKWB        header      
		Documentary      MaskInfo         table       
		Documentary      AlignBoxInfo     table       
		Documentary      DisplayImage     table       
		Documentary      MosaicImage      table       
		pfcam            MANU0            bundle      
		esi              MANU0            bundle      
		esi              MANU1            bundle      
		esi              detector         bundle      
		esi              tserv            bundle      
		pfcam            tserv            bundle      
		deimos           CTRL1            bundle      
		deimos           CTRL2            bundle      
		template         ion.pump.kwd     bundle      
		pfcam            analogU0         bundle      
		NotYet           NotYet           bundle      
		KTLruntime       ErrorLogFile     file        
		KTLruntime       AppLogFile       file        
		KTLruntime       CakeHdrFile      file        
		KTLruntime       CtrlTty          file        
		KTLruntime       TrafficLockFile  file        
		KTLruntime       DispLogFile      file        
		esi              TMPOSS           bundle      
		infoman          sysfile          file        
		infoman          stringfile       file        
		infoman          paramfile        file        
		infoman          dictionary       file        
		KTLruntime       Header_Info      file        
		CommandLine      KTLkwSvcs        bundle      
		CommandLine      FigdispArgs      bundle      
		CommandLine      KTWconfigFile    file        
		CommandLine      ktuiKWDfile      file        
		CommandLine      ktuiDBDfile      file        
		CommandLine      ktuiTCLfile      file        
		DEIMOS           ccd              bundle      
		DEIMOS           ccdinfoman       bundle      
		DEIMOS           infoman          bundle      


Rule052 ============================================================= Rule052


A tuple meme with no rpt_mid must have a bundle. 

Exceptions:	DEMO             KWHAT            tuple       
		DEMO             KWARRINtpl       tuple       


Rule054 ============================================================= Rule054


No map_mid can be a tuple element. 

Exceptions:	KECK1CCD         DWRN2LVM         varchar(68) 
		KECK1CCD         PWRBLOKM         varchar(68) 
		KECK1CCD         RESN2LVM         varchar(68) 
		KECK1CCD         TEMPDETM         varchar(68) 
		KECK1CCD         TEMPSETM         varchar(68) 
		KECK1CCD         UTBM15VM         varchar(68) 
		KECK1CCD         UTBP15VM         varchar(68) 
		KECK1CCD         UTBP30VM         varchar(68) 
		KECK1CCD         UTBP5VM          varchar(68) 
		KECK1CCD         UTBTEMPM         varchar(68) 
		KECK1CCD         UTBTMPSM         varchar(68) 
		MapTypes         Unixtime         int         
		Template         HomeParA         bundle      


Rule055 ============================================================= Rule055


No duplicate eordr values should appear within a bundle. 

Exceptions:	3703 1
		3703 2
		3703 3
		3703 81
		3703 82
		3703 91
		3703 92
		2429 63
		4526 9
		4834 0
		4834 1
		4834 2
		4834 3
		4834 4
		4834 5
		4834 6
		4834 29
		4834 100
		4834 101
		4834 102
		4834 103
		4834 202
		4834 204

Questions about this report? talk to de@ucolick.org