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

Concatenate two files


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

New User


Joined: 28 Aug 2006
Posts: 54
Location: Madrid

PostPosted: Fri Mar 25, 2011 10:38 pm
Reply with quote

Please could you suggest if there is a way i can concatenate two files using ICETOOL.

I have two files FILE A and FILE B, and is it possible that i can give
COPY FROM(FILE A and FILE B) TO(FILE C) USING(CTL1)
I am not able to use the files with
//TEMP001 DD DSN=FILEA,
// DD DSN=FILEB,
because my FILE B is being created in the same step.
CTL1 is a simple SORT COPY.

Sample data
INPUT files
FILE A: 1234 abcd
FILE B: 1234 cdef

OUTPUT file
FILE C: 1234 abcd
1234 cdef
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 Mar 25, 2011 11:49 pm
Reply with quote

You need to show your complete job so we can figure out what exactly you're trying to do.
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top