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
 

 

help with MUL in SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: help with MUL in SORT
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Thu May 24, 2012 2:24 pm    Post subject: Reply to: help with MUL in SORT
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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