The following table describes each field of CS ZIP.
Position |
Field Name |
Description |
Comments |
---|---|---|---|
1-6 |
KEYWORD |
Parameter name: CS ZIP |
Required. |
8-8 |
Format of city, state, and ZIP Code |
Format of the city/state/ZIP Code on the input record. A City/state/ZIP Code are among the address lines (position 8 on ADDRDF must be 'L') C City and state mixes with address lines; ZIP Code is separate M City and state are together in one field; ZIP Code is in a separate field S City, state, and ZIP Code are in 3 separate fields X City/state/ZIP Code are in a single field separate from the address. |
Required. No default. |
10-12 |
Location of separate ZIP Code |
Location on the input record for the separate ZIP Code. Note: Cannot be used with option A in position 8.
|
Optional. No default. |
14-14 |
Format of separate ZIP Code |
Format of the separate ZIP Code. 9 ZIP Code is 9 digits binary stored in 4-byte format B ZIP Code is in 3-byte format C ZIP Code is stored in 5-byte character format P ZIP Code is in a 3-byte packed format (the sign digit is ignored so the start of a 5-byte packed 9-digit ZIP+4 Code can be used with this option). |
Optional. No default. |
16-18 |
Location of city/state/ZIP Code |
Location on the input record for the field that contains the city, city/state, or city/state/ZIP. |
Optional. No default. |
20-21 |
Length of city/state/ZIP Code |
Length of the city, city/state, or city/state/ZIP field. |
Optional. No default. |
23-25 |
Location of separate state |
Location on the input record for the separate state. |
Optional. No default. |
27-28 |
Length of separate state |
Length of the separate state. |
Optional. No default. |
30-32 |
Location for storage of extracted ZIP Code |
Location on the output record where the extracted ZIP Code is stored. If the input ZIP Code field is non-numeric or all zeros, then blanks are stored in this location. |
Optional. No default. |
34-36 |
Location of ZIP+4 Code |
Location on the input record of the ZIP+4 add-on code. |
Optional. No default. |
38 |
Format of original ZIP+4 Code |
Format of the ZIP+4 add-on code. C 4-byte character format B 3-byte binary format P 3-byte packed format (the sign digit is ignored so that the start of a 5-byte packed 9-digit ZIP+4 Code can be used with this option). |
Optional. No default. |