Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


Repeat Report Headers at the top of the page

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DFSORT , ICETOOL & Utilities
  View previous topic :: View next topic  
Author Message
mainframeman
Member


Joined: 09 Dec 2006
Posts: 4

PostPosted: Tue Dec 12, 2006 6:54 pm    Post subject: Repeat Report Headers at the top of the page Reply with quote

Is it possible to repeat report headers at the top of every printed page or if that is not possible repeat report header every 20 lines? If so, how is it done. All I have ever seen, is headers at the top of a report and then thousands of lines in some cases and no repeating of report headers. I am tying to complete a report with a requirement to repeat the headers.
Back to top
View user's profile Send private message

Frank Yaeger
Moderator


Joined: 18 Feb 2006
Posts: 487
Location: San Jose, CA

PostPosted: Tue Dec 12, 2006 10:36 pm    Post subject: Reply with quote

DFSORT's OUTFIL statement lets you use three types of headers for reports as follows:

HEADER1 - report header. Appears once at the start of the report.
HEADER2 - page header. Appears at the top of every page.
HEADER3 (in SECTIONS) - section header. Appears at the top of every section.

So you can use HEADER2 for page headers. You can use LINES=n to control the number of lines per page. For example:

Code:

   OPTION COPY
   OUTFIL LINES=50,
     HEADER2=('This is line1 of the page header',/,
        'This is line2 of the page header')


If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
_________________
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DFSORT , ICETOOL & Utilities All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Top 10 Intelligence Agencies of World 0 earthwit 390 Tue Apr 13, 2010 3:26 pm
earthwit View latest post
No new posts Top 10 *** scandals of politicians 0 earthwit 311 Tue Apr 13, 2010 3:23 pm
earthwit View latest post
No new posts I need a JCL to delete the last 6 lines of all the members i 3 osurendhra 9129 Tue Mar 30, 2010 1:39 pm
Anuj Dhawan View latest post
No new posts Is it possible to throw ISPF panels from PL/I programs? 1 rangab 2909 Thu Aug 20, 2009 11:55 pm
MrSpock View latest post
No new posts Top MNC Job : Get into Top MNC 0 arithforu 634 Mon Jul 27, 2009 3:03 pm
arithforu View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB