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

Append contents of File A to each record in File B


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

New User


Joined: 07 Dec 2006
Posts: 2
Location: India

PostPosted: Fri Dec 08, 2006 1:53 pm
Reply with quote

Hi,
I have a Store file (file A) which has the records in the format

0001
0002
0003

I have a category file (file B) which has records in the format
001
003
004

I need to have a file which has all the Store Category combinations as mentioned below. Is this possible using SORT / ICETOOL? Here I don't have a common field in the files to splice from.

0001001
0001003
0001004
0002001
0002003
0002004
0003001
0003003
0003004
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Dec 08, 2006 10:31 pm
Reply with quote

That's a cartesian join. SPLICE can't do that.
Back to top
View user's profile Send private message
rejikonkara

New User


Joined: 07 Dec 2006
Posts: 2
Location: India

PostPosted: Sat Dec 09, 2006 7:28 pm
Reply with quote

Thanks Frank for the quick reply.
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 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top