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

Remove intermediate spaces


IBM Mainframe Forums -> SYNCSORT
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pallavi Vishwanath

New User


Joined: 06 May 2011
Posts: 1
Location: India

PostPosted: Fri Jan 15, 2016 2:45 am
Reply with quote

I have a file of LRECL 80. The data present is of variable length.

AAAAAAA
BBBBBBB
CCC
AAAAAAA
BBBBBBB
CCCC
AAAAAAA
BBBBBBB
CCCCCC

I need the data to be in this format:

AAAAAAA
BBBBBBB
CCCAAAA
AAABBBB
BBBCCCC
AAAAAAA
BBBBBBB
CCCCCC

Is it possible to do this using JCL and utilities like SYNCSORT/ FileAid etc?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Fri Jan 15, 2016 5:34 am
Reply with quote

Is your data representative of the data that can exist? For instance:

Code:
CCCC
CC
BBBBBBB


Is that possible?

How many records do you have?
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 -> SYNCSORT

 


Similar Topics
Topic Forum Replies
No new posts Revoke on DB2 to remove an user DB2 4
No new posts REMOVE DUPLICATE RECORDS BASED ON A S... DFSORT/ICETOOL 4
No new posts Map a data element to SPACES if it is 0 COBOL Programming 2
No new posts How to remove this shortcut bar? TSO/ISPF 3
No new posts How to remove remote file older than ... All Other Mainframe Topics 4
Search our Forums:

Back to Top