Including or excluding every nth record in the input name-and-address file allows you to process or bypass every user-specified number of records in the file. For example, we want to specify to process every third record in the input file.
Example - Including Every Third Record
Note:
iFor the input name-and-address file, you can use the NTHSEL inclusion and exclusion sampling function in conjunction with a FILEDF cross-sectional function. This allows you to include/exclude a fraction of every nth record.
These Specifications |
Define the Following |
---|---|
NTHSEL in positions 1 through 6 |
KEYWORD — Specify record sampling specifications. |
003 in positions 8 through 10 |
Nth NUMBER — Three is the user-specified "nth" number. |
INC in positions 12 through 14 |
INCLUDE/EXCLUDE OPTION — CODE-1 Plus will process (include) every third record in the input name-and-address file. |