Sometimes you may need to send the output from multiple views to a single file.

First, the output from both views needs to 'map' correctly. Meaning, each must generate the same number and type of data columns.

A simple two-line script is used to create, and then add data to, a single file:

10 EXECUTE VIEW(lib/view1) OUTFILE(lib/file1)
20 EXECUTE VIEW(lib/view2) OUTFILE(lib/file1) MBROPT(*ADD)





Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: August 13, 2020