IBM Books

Reference

VLIST


AIX HP-UX Linux OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X X

Purpose

A list of all the field values for the current row being processed in a ROW block.

You can reference VLIST only within a ROW block. The default separator is a space.

Examples

Example 1: Using list tags to display query results

%DEFINE ALIGN="YES"
 
%REPORT{
Here are the results of your query:
<OL>
%ROW{
<LI>$(VLIST)
%}
</OL>
%}
 

Example 2: Using a list variable to change the separator to <P>

%DEFINE %LIST "<P>" VLIST
 
%REPORT{
Here are the results of your query:
%ROW{
<HR>$(VLIST)
%}
%}


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]