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 Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm

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