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

Reformat through DFSORT


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

New User


Joined: 03 Dec 2010
Posts: 87
Location: India

PostPosted: Thu Dec 19, 2013 1:24 pm
Reply with quote

I have a 10 bytes input file as below -->

Code:

AAABBBCCCD
EEEFFFGGGH
IIIJJJKKKL
MMMNNNOOOP
QQQRRRSSST
UUUVVVWWWX
YYYZZZAAAB


I want to create an output file as below of LRECL=3

Code:

AAA
BBB
CCC
D
EEE
FFF
GGG
H
III
JJJ
KKK
L
MMM
NNN
OOO
P
QQQ
RRR
SSS
T
UUU
VVV
WWW
X
YYY
ZZZ
AAA
B


Can this be achieved through DFSORT ?
Please help.
Thanks for any inputs to achieve this
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 Dec 19, 2013 2:01 pm
Reply with quote

ICETOOL's RESIZE does exactly what you want.

If your installed SORT is not up-to-date, use OUTFIL with the Slash Operator (/) in BUILD to create your multiple output records.
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
Search our Forums:

Back to Top