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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top