DGREGCP2 ;ALB/CLT - ADDRESS UTILITIES ;23 May 2017 1:33 PM
Source file <DGREGCP2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| POBOXRES(DGADDL1,STATE,CNTRY) | ;TEST FOR UNALLOWED PO BOX AND GENERAL DELIVERY FOR RESIDENTIAL ADDRESS
 ; DGADDL1 - The address [LINE 1] text ; STATE - Internal State Code ; CNTRY - Internal Country Code ; returns 1 if PO box/general delivery not allowed for this address ; called from DGREGRED for validation of residential address on screen 1.1  | 
|
| POBOXPM(DFN) | ;Check for PO Box/General Delivery in Permanent Mailing Address
 ; Returns 1 if Perm address contains PO Box or General delivery (allowing for exceptions)  | 
|
| OKPO(STATE,CNTRY) | ;PO BOX CHECK FOR CERTAIN COUNTRIES AND STATES
 ; Returns 1 if the country/state allows for PO box/general delivery ; Pass in the state and country codes to check  | 
|
| ISPO(DGADDL1) | ; check address line for presence of PO Box or General Delivery
 ; Returns 1 if the address line DGADDL1 contains PO/General Delivery  | 
| FileNo | Call Tags | 
|---|---|
| ^DIC(5 - [#5] | GET1^DIQ |