Parameters for the default offer code generator

The uacoffercodegen program supports the parameters described in this section. The uacoffercodegen program is located in the bin directory under your Unica Campaign installation directory.

Table 1. Parameters for default offer code generator

Parameter

Use

-a

Passes in the number of offer code parts, from 1 - 5.

-d

Passes in the day. Can accept one or two integers, not to exceed the value of 31.

-f

Passes in the code format, used to override the default format.

-i

Passes in an additional integer to be used to generate a unique code.

-m

Passes in the month. Can accept one or two integers, from 1 - 12.

-n

Passes in the campaign name.

-s

Passes in an additional string to be used to generate a unique code.

-u

Passes in the campaign ID, to use instead of the system generated ID.

-v

Prints the first argument to the standard out stream (STOUT).

-y

Passes in the year. Accepts four integers.

Example

uacoffercodegen -f "nnnnnnnnn nnnnnnnnn nnnnnnnnn nnnnnnnnn nnnnnnnnn" 
	       -a 5 -u 3 -y 2008 -m 1 -d 14