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

Suppress leading zeros on sequence number


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smileseenu

New User


Joined: 27 Sep 2006
Posts: 13
Location: India

PostPosted: Wed Feb 20, 2013 5:31 pm
Reply with quote

if i need the sequence number with the leading zeros, like below, how can we do that..

Code:
111 aaa 222     1
111 bbb 222     2
111 ccc 223      3
111 ddd 224     4
111 ddd 224     5


Code'd
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Feb 20, 2013 5:54 pm
Reply with quote

Please don't tailgate an old topic, you should always start a new one, and you can "link" to the old topic if you feel that it helps.

Please always use the Code tags, and the Preview button.

Once a generated sequence number exists, it is just like any field. So, OVERLAY at that position, specifying an EDIT for the field which does what you want.
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Feb 20, 2013 11:09 pm
Reply with quote

Look up FS format for SEQNUM description here

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ice1ca60/3.15
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
Search our Forums:

Back to Top