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

Trailer1, Trailer2, and Trailer3 for the OUTFIL group


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

New User


Joined: 25 Jan 2007
Posts: 39
Location: Charleston SC

PostPosted: Fri Jul 06, 2007 1:07 am
Reply with quote

FY the DFSORT manual tells me that TRAILER1, TRAILER2, and TRAILER3 control card parameters indicate a report is going to be generated for the OUTFIL group.

I have seen you use the parameters when generating an output file. My question is this:

What dictates the use of these parameters when generating an output file?
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jul 06, 2007 1:25 am
Reply with quote

You would use TRAILER1 when you want a report trailer to appear by itself as the last page of the report. This is also handy for creating one record with a count or date.

You would use TRAILER2 when you want a page trailer to appear at the bottom of each page of the report.

You would use TRAILER3 within SECTIONs when you want a section trailer to appear after the last data record of each section.

For an overview of OUTFIL reports, see:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CG20/2.6.8?DT=20060615173822

For complete details, see "z/OS DFSORT Application Programming Guide":

Use [URL] BBCode for External Links
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 leading spaces can be removed in trai... DFSORT/ICETOOL 1
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Compare latest 2 rows of a table usin... DB2 1
Search our Forums:

Back to Top