Place variable values in columns. The COLUMNS= suboption places values of variables into columns that are defined in the template.


Values for both the LAST_NAME and FIRST_NAME variables are written to columns that are defined as NAME in the template.


The GENERIC=ON suboption must be set in both the template and the ODS= option in order for you to use a column definition for more than one column.


The value of the variable BUSINESS_PHONE is placed in a column that is defined as PHONE.


The DYNAMIC= suboption assigns a value to the variable COLHEADER. This value is passed to the template when the output object is created, and the template uses it for the column heading. Thus, even though the variables use the same column definition from the template, the columns in the output object have different column headings.


The FORMAT= suboption assigns the format PHONENUM. to the column named PHONE.


                columns=
                         (name=last_name
                           (generic=on
                            dynamic=(colheader='Last Name'))
                          name=first_name
                           (generic=on
                            dynamic=(colheader='First Name'))
                          phone=business_phone
                            (format=phonenum.)
                          )
               );