Custom positive pay file with output rows variable length
I have created a process for a custom positive pay file. The output line needs to be 316 characters long for the detail rows and 35 characters long for the total lines. I have the row built in a work table that is the correct length but how do a spool it to an output file using SQL*Plus? When I set the linesize to 316, then the total row is also 316 in the output file. When I don't set linesize, then the lines are 80 long. How can create an output file with the detail lines 316 characters and the total lines 35 characters?
Thanks?