IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Syncsort Seqnum with limitation


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Thu Jan 05, 2012 5:51 am
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jan 05, 2012 3:13 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts DFSORT/SYNCSORT/ICETOOL JCL & VSAM 8
No new posts Syncsort "Y2C" Function SYNCSORT 1
No new posts Arithmetic division using Syncsort SYNCSORT 6
Search our Forums:

Back to Top