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
 

 

Reformat through DFSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Reformat through DFSORT
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Thu Dec 19, 2013 2:01 pm    Post subject: Reply to: Reformat through DFSORT
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    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 How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts DFSORT sorting only specific records akodakka DFSORT/ICETOOL 4 Thu Aug 04, 2016 11:24 am
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm


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