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

combine multiple unique records into a single record


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

New User


Joined: 20 Feb 2023
Posts: 9
Location: us

PostPosted: Tue Oct 22, 2024 7:32 pm
Reply with quote

Hello -

First, apologies for posting this as a reply on an old topic. I caught my mistake too late to delete it...

I have a situation where I need to combine multiple unique records into a single record.

Input (FB 80/data length = 12 bytes/trailing spaces):

100AXXXXXXXX
100BXXXXXXXX
100CXXXXXXXX
.
.
.
100ZXXXXXXXX

Desired Output (FB 240 assuming 20 input records) :

100AXXXXXXXX100BXXXXXXXX100CXXXXXXXX...100ZXXXXXXXX

The data will not have duplicates. The output dataset will not contain trailing spaces, just the 12 bytes of data per input record. Expected volume is 20 records daily, but can vary by a record or 2.

I have looked for similar SPLICE examples in the forum, but have not located a similar post (most contain keyed data). Any suggestions are greatly appreciated.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1329
Location: Bamberg, Germany

PostPosted: Tue Oct 22, 2024 8:51 pm
Reply with quote

Please look for RESIZE operator of ICETOOL.
Back to top
View user's profile Send private message
jimsnow

New User


Joined: 20 Feb 2023
Posts: 9
Location: us

PostPosted: Tue Oct 22, 2024 10:07 pm
Reply with quote

forest through the trees...

so fixated on SPLICE, failed to consider RESIZE

Thank you, Joerg
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 Copy only TEXT or String from a record SYNCSORT 4
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
No new posts how to complete the end of a record w... DFSORT/ICETOOL 2
No new posts Sort based on the record type DFSORT/ICETOOL 1
No new posts SORT JCL to merge multiple tow into s... DFSORT/ICETOOL 6
Search our Forums:

Back to Top