It started with a question:
If my file.txt is pipe filed separated, how can I make the records fall into the physical file to the corresponding fields.
A good question. Most of the time my incoming files are comma separated. The same methods I would use for those will work for pipe separated files too.
First I need a file with pipe separators. I made a copy of some of the columns from my PERSON DDL table to an output file in QTEMP:
01 CREATE TABLE QTEMP.OUTFILE AS 02 (SELECT PID,LNAME,FNAME FROM PERSON) 03 WITH DATA |



