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

SPLICE option merging multiple records with ICETOOL


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

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Tue Jul 01, 2008 7:32 pm
Reply with quote

I have a requirement to combine many records in to a single record. I know I can SPLICE the 10 files two by two, but would like to be able to accomplish this in one step, if possible.

Input view FB/30/27990:

Code:

----+----1----+----2----+----3
HLQUAL1  A                   
HLQUAL1    B                 
HLQUAL1      C               
HLQUAL1        F             
HLQUAL1          L           
HLQUAL1            N         
HLQUAL1              R       
HLQUAL1                T     
HLQUAL1                  U   
HLQUAL1                    V 
HLQUAL2  A                   
HLQUAL2    B                 
HLQUAL2        F             
HLQUAL2          L           
HLQUAL2              R       
HLQUAL2                T     
HLQUAL2                    V 
HLQUAL3  A                     
HLQUAL4                T       
HLQUAL4                  U     
HLQUAL4                    V   


Output should look like:

Code:

----+----1----+----2----+----3
HLQUAL1  A B C F L N R T U V   
HLQUAL2  A B   F L   R T   V   
HLQUAL3  A                     
HLQUAL4                T U V   


Any assistance would be appreciated.
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Tue Jul 01, 2008 10:43 pm
Reply with quote

cpuhawg

I have answered a similar question of yours here . Cant you just apply the same logic shown in here to your current requirement?

www.ibmmainframes.com/viewtopic.php?p=110299#110299
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top