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

help with MUL in SORT


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

New User


Joined: 09 Apr 2007
Posts: 33
Location: India

PostPosted: Thu May 24, 2012 2:18 pm
Reply with quote

I have a sample as below

cols 3-10 are 9(8) here
Code:

TX00000002Ricob
NE00000019Albert Jame


i want to convert to 9(6)V99
Code:

TX00000200Ricob
NE00001900Albert Jame


tried wth
Code:
SORT FIELDS=COPY
OUTREC OVERLAY=(3:3,8,ZD,MUL,+100,TO=ZD)


gettting o/p as
Code:

TX0000000000000200Ricob
NE0000000000001900Albert Jame


any help to replace original field itself..
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: Thu May 24, 2012 2:24 pm
Reply with quote

If you look in the manual, you'll find there is a default length for things.

If you don't want to use the default length (and even if you do), specify the length you want ie "LENGTH=n" or use an EDIT mask of an appropriate size and specification (for "display" output).
Back to top
View user's profile Send private message
umanaga

New User


Joined: 09 Apr 2007
Posts: 33
Location: India

PostPosted: Thu May 24, 2012 2:40 pm
Reply with quote

thanks, using LENGTH in OVERLAY is working
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
Search our Forums:


Back to Top