Navigation:  Commands > User Profile / User Job Properties [USR, UJP] >

$dns_file [USR, UJP]

Previous pageReturn to chapter overviewNext page

User-Specific Do-not-send file

$dns_file filename.NDX | databasespec


This command is used to specify an index file containing telephone numbers to be excluded for outbound calls. If specified, this file is used in addition to the global Do-not-send file (default DNS.NDX). It has no effect on e-mail transmissions, for which the USER_DNS_MAIL or USER_DNS_DOMN system variables can be set to produce a similar result.

If this command appears in an FFBC template file, or on an $fs_template command in a .UJP file, then the phone numbers are checked against the specified index file at launch time, and excluded from the launch if found. This will result in their non-appearance in any job reports.

The parameters on this command are used as follows:

filename The full pathname of the NDX file to be used.  This is the only format currently supported when this command is used on an $fs_template command. The file must a numeric dBASE index file, and this parameter type is recognized by the presence of the NDX file extension.
databasespecThe components of the database specifier are separated by the vertical bar symbol (|) and are described in more detail in the description of the do-not-send feature.
Database NameThe full pathname of a supported database, or a DSN source
Table NameThe name of the table to use (default table name: DNS)
Key Field NameThe name of the key field to use (default key field RECIPIENT)
Timeout ValueTimeout for lookup (defaults to ADO default value)

Default: Only numbers in DNS.NDX, if present, or in another global lookup file will be excluded.

Examples:

$dns_file "@FFBASE\CLIENT.NDX"

$dns_file "@FFBASE\DoNotSend.MDB|DNSTABLE|FAXNUMBER"

 


Topic url: http://www.copia.com/support/refmanual/index.html?%24dns_file_usr.htm