Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

OUTFIL removecc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Tue Jan 08, 2013 1:10 am    Post subject: OUTFIL removecc
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: 183
Location: Toronto, ON, Canada

PostPosted: Tue Jan 08, 2013 1:30 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OUTREC on OUTFIL error rocky_balboa DFSORT/ICETOOL 4 Thu Aug 27, 2015 10:26 am
No new posts OMIT other unsatisfied records in OUT... tvinodkumar7 DFSORT/ICETOOL 6 Thu Jan 08, 2015 1:33 pm
No new posts OUTFIL with multiple output files wit... garunmj DFSORT/ICETOOL 4 Thu Nov 06, 2014 7:08 pm
No new posts DFSORT OUTFIL, ICETOOL DISPLAY selvaganesan DFSORT/ICETOOL 2 Fri Oct 03, 2014 3:10 am
No new posts OUTREC is not working in OUTFIL ranjan jha DFSORT/ICETOOL 4 Tue Apr 29, 2014 4:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us