View previous topic :: View next topic
|
Author |
Message |
Gayle
New User
Joined: 04 Oct 2006 Posts: 11
|
|
|
|
Hi,
I am wondering if there is an easy way to print select page(s) from a very large report file?
It seemed to me that IEBPTPCH could do it with the STRTAFT=n parameter, but when I used it, got error "invalid parameter".
The file is a 133 byte formatted report file with carriage control.
It has 58525 pages.
Thank-you,
Gayle |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
With a little imagination and Frank's help, I'll bet it could be done with Icetool and/or DFsort.
Treating the line with a page eject control character (1) at byte 1 as a "header" there should be a way to work this. You'd have to know the page count rather than the page number, or if the page number was on that first line, maybe not..... |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Gayle,
You could use the "group" trick to use the '1' in position 1 to assign a group number to each page and then use INCLUDE conditions to output the records for the pages you want by their group numbers.
For more information on that technique, see the "Include or omit groups of records" Smart DFSORT Trick at:
www.ibm.com/servers/storage/support/software/sort/mvs/tricks/ |
|
Back to top |
|
|
Gayle
New User
Joined: 04 Oct 2006 Posts: 11
|
|
|
|
Thank-you!
I will look into and try the "group" trick. |
|
Back to top |
|
|
|