Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 7314

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 count the number of times key ... vnktrrd DFSORT/ICETOOL 8 Thu Nov 15, 2018 9:19 pm
This topic is locked: you cannot edit posts or make replies. DFSORT output in CSV for data spans i... hiravibk DFSORT/ICETOOL 3 Tue Nov 13, 2018 7:55 pm
No new posts Need help on the multiple files refor... wik123 DFSORT/ICETOOL 7 Wed Sep 19, 2018 10:47 am
No new posts Generate and submit JCL and step dyna... vnktrrd DFSORT/ICETOOL 11 Wed Jul 25, 2018 11:31 pm
No new posts Reformat clause in joinkeys sortcard ... Mounika Nemani DFSORT/ICETOOL 2 Thu May 31, 2018 5:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us