View previous topic :: View next topic |
Author |
Message |
Prabakar_S Beginner
Joined: 20 Dec 2006 Posts: 18 Topics: 7 Location: Chennai
|
Posted: Fri Sep 07, 2007 3:09 am Post subject: Page number reset - Report generation using Syncsort |
|
|
Hi All,
While creating reports using syncsort, is there any way to reset the page-number back to 1 at every control break?
Sample I/P:
Ctl Fld1 Ctl Fld2 Data
AAAAA 11111 <data>
AAAAA 11111 <data>
AAAAA 22222 <data>
AAAAA 22222 <data>
BBBBB 11111 <data>
I need the page number to be incremented by 1 whenever there is a control brk in field Ctl Fld2.
I need the page number to be reset to 1 whenever there is a control brk in field Ctl Fld1.
1st section will have control field defined as Ctl Fld1, the sections within will have the control field defined as Ctl Fld2.
Any and all help are greatly appreciated!
Thanks. |
|
Back to top |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Fri Sep 07, 2007 4:41 am Post subject: |
|
|
Cute, an EZT solution for a Syncsort problem..... |
|
Back to top |
|
 |
Prabakar_S Beginner
Joined: 20 Dec 2006 Posts: 18 Topics: 7 Location: Chennai
|
Posted: Fri Sep 07, 2007 6:21 am Post subject: |
|
|
Thanks vkphani,
but is there any way this can be achieved using Syncsort? |
|
Back to top |
|
 |
Prabakar_S Beginner
Joined: 20 Dec 2006 Posts: 18 Topics: 7 Location: Chennai
|
Posted: Fri Sep 07, 2007 6:25 am Post subject: |
|
|
Note: In our concern we only use Syncsort, so solutions in DFsort might not really be helpful for me. But if the functionality is common to both, please let me know.
Thanks. |
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Fri Sep 07, 2007 7:44 am Post subject: |
|
|
Prabakar_S wrote: | Note: In our concern we only use Syncsort, so solutions in DFsort might not really be helpful for me. But if the functionality is common to both, please let me know. | I've looked into the manual and did not find a page number reset..... |
|
Back to top |
|
 |
Prabakar_S Beginner
Joined: 20 Dec 2006 Posts: 18 Topics: 7 Location: Chennai
|
Posted: Mon Sep 10, 2007 12:53 am Post subject: |
|
|
Thanks for the response... |
|
Back to top |
|
 |
|
|