Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Syncsort Seqnum with limitation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Gabriel Araujo Alves

New User


Joined: 20 Jul 2010
Posts: 38
Location: Brazil

PostPosted: Thu Jan 05, 2012 2:58 am    Post subject: Syncsort Seqnum with limitation
Reply with quote

Hello

i want to do some sequencial number that restarts in some specific value,
but i cant do this in Syncsort -> (seqnum,02,bi,start=1,incr=1,restart=250) how can i do???
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Jan 05, 2012 5:51 am    Post subject:
Reply with quote

Hi,

can you please explain what the requirement is with an example.

I can't make heads or tails of it.


Gerry
Back to top
View user's profile Send private message
xknight

Active User


Joined: 22 Jan 2008
Posts: 117
Location: Liberty city

PostPosted: Thu Jan 05, 2012 3:04 pm    Post subject:
Reply with quote

Hello,

May be the below snippet could assist you,

Code:
OUTFIL REPEAT=000000250,OVERLAY=(01:SEQNUM,10,ZD,START=1)   
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Jan 05, 2012 3:13 pm    Post subject: Reply to: Syncsort Seqnum with limitation
Reply with quote

Quote:
i want to do some sequencial number that restarts in some specific value,


for restart You need some restart criteria, You did not tell...

for example for dfsort the syntax is along the lines of


(<sequence number position>:SEQNUM,<length>,ZD,RESTART=(c,l)))

where C and L define to be checked for restarting
whwnever the value changes the sequence will be restarted
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 6 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us