There are two ways to define the valid dates of the user's address. One way is to edit the from-to dates on the user address record (Z304), and use the accompanying setup of type "02" for the mailing address and type "01" for the permanent address. Alternatively, the library can opt to set the validity period on a system-wide basis. In this case, the convention of "01" for permanent address and "02" for mailing address is irrelevant. This system-wide option is set in the administration library, in tab_user_address (). If there is a period defined in the table, then the system wide address conventions are in effect. Note that the two methods cannot be used together. The tab_user_address definitions include the From date, the To date and the Address type: 19991001 19991223 21 19991224 20000109 22 20000110 20000615 23 20000616 20000923 24 20000924 20001223 21 Each line defines which address-type identification is in effect for a time period. The periods defined must be contiguous. If the address period is defined in tab_user_address: The "valid from-to" dates fields from the Z304 record are not displayed on the WEB update form (www_a_eng/bor-update). n When the user updates his address record using the WEB form (www_a_eng/bor-update), the current record will be updated. If there is no current record, the record that suits the immediately preceding line in tab_user_address will be updated (only one line up). n In the same manner, when the system searches for the appropriate user record for printed products, if there is no record with the address type expected according to the time period in tab_user_address, the system takes the record that has the type registered in the previous line in tab_user_address, and duplicates it, assigning the expected address type. n m If the address period is NOT defined in tab_user_address: Updating the address in the WEB form (www_a_eng/bor-update) will change the last record. n When the system determines which address record to use, if there is more than one record with relevant valid from-to dates, the system chooses the record type 02 with the highest sequence number. Remember, when sending notices to the user, the system first searches for an address of type "02" where the date of the notice falls within the valid from-to period. If the system does not find a suitable 02 address, the system then searches for a suitable 01 address. If no address is found, no address is printed. n m 00 sh -c csh -f /aleph/a52_5/aleph/proc/p_cir_10 "GAL50,courtesy2,Y,09,12,11,00,00,00,MAIN^MED^NUR,07,00,N,3,N,0,00,court," court 1>/aleph1/u52_5/alephe/scratch/gal50_p_cir_10.00129.court 2>&1