IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

OUTFIL removecc


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Tue Jan 08, 2013 1:10 am
Reply with quote

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
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Tue Jan 08, 2013 1:30 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts How to append data from PARM in OUTFIL DFSORT/ICETOOL 17
No new posts Joinkeys overlay and unmatched with O... DFSORT/ICETOOL 11
No new posts Duplicate PARM on OUTFIL SYNCSORT 11
Search our Forums:

Back to Top