MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Page number reset - Report generation using Syncsort

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Prabakar_S
Beginner


Joined: 20 Dec 2006
Posts: 18
Topics: 7
Location: Chennai

PostPosted: Fri Sep 07, 2007 3:09 am    Post subject: Page number reset - Report generation using Syncsort Reply with quote

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
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Fri Sep 07, 2007 3:29 am    Post subject: Reply with quote

You can check the below link
http://www.mvsforums.com/helpboards/viewtopic.php?t=4270&highlight=reset+count
Back to top
View user's profile Send private message Send e-mail
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Fri Sep 07, 2007 4:41 am    Post subject: Reply with quote

vkphani wrote:
You can check the below link
http://www.mvsforums.com/helpboards/viewtopic.php?t=4270&highlight=reset+count

Cute, an EZT solution for a Syncsort problem.....
Back to top
View user's profile Send private message
Prabakar_S
Beginner


Joined: 20 Dec 2006
Posts: 18
Topics: 7
Location: Chennai

PostPosted: Fri Sep 07, 2007 6:21 am    Post subject: Reply with quote

Thanks vkphani,
but is there any way this can be achieved using Syncsort?
Back to top
View user's profile Send private message
Prabakar_S
Beginner


Joined: 20 Dec 2006
Posts: 18
Topics: 7
Location: Chennai

PostPosted: Fri Sep 07, 2007 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Fri Sep 07, 2007 7:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Prabakar_S
Beginner


Joined: 20 Dec 2006
Posts: 18
Topics: 7
Location: Chennai

PostPosted: Mon Sep 10, 2007 12:53 am    Post subject: Reply with quote

Thanks for the response...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group