View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
I discovered (by accident) that the REMOVECC feature of the OUTFIL statement occurs after the fact. DFSORT does the paging but then removes the CC char afterwards.
This caused a problem for when I used the below statement to insert a blank line between sections:
Code: |
OUTFIL FNAMES=DUPLOUT,
REMOVECC,
SECTIONS=(1,27,SKIP=1L) |
If the last line of a section was at the bottom of a "page" then it doesn't insert the blank line. This would be valid if I wanted paging but in this case I do not want it. I want a raw report that I can then import into Excel or Word.
If anyone has a work around then let me know. I could run this in two steps:
produce report with pages
report report to remove pages and add blank lines
but I was hoping to do this in one step. |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
I discovered a work around:
Code: |
OUTFIL FNAMES=DUPLOUT,
REMOVECC,
SECTIONS=(1,27,TRAILER3=(X)) |
This inserts a trailer record with a blank line after each section. |
|
Back to top |
|
|
|