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

Concatenate 3 files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rahulabvp

New User


Joined: 05 May 2010
Posts: 7
Location: Bloomington, IL, USA

PostPosted: Mon Jan 10, 2011 11:28 am
Reply with quote

Hello,

Here is my requirement.

Input File 1 : AAA
Input File 2 : BBB
Input File 3 : CCC

I want the contains of these 3 files combined together as shown below.

Output File 4 : AAABBBCCC

Please help me out.

Thanks,
Rahul
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jan 10, 2011 1:43 pm
Reply with quote

Are you talking about the file names or the content of the files?

O.
Back to top
View user's profile Send private message
kumar32149

New User


Joined: 22 Sep 2010
Posts: 9
Location: India

PostPosted: Mon Jan 10, 2011 2:48 pm
Reply with quote

plz elabarate it clearly
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jan 10, 2011 6:25 pm
Reply with quote

Wil you always be having just one recorde in all the three files always? Are the files FB?
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Mon Jan 10, 2011 7:15 pm
Reply with quote

Regardless of your upcoming clarification, this seems like a pretty simple request.

Do you ever review these with colleagues first? If they then cannot help, the forum is a good place to seek help.

If, however, you are the most experienced mainframe programmer at your installation, and you are asking a question such as this, then, well, I hope I do not own stock in your company.
Back to top
View user's profile Send private message
rahulabvp

New User


Joined: 05 May 2010
Posts: 7
Location: Bloomington, IL, USA

PostPosted: Mon Jan 10, 2011 7:46 pm
Reply with quote

I have 3 files and those 3 files will have 1 record everytime. I am very much new to JCL please help me out
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Jan 10, 2011 11:05 pm
Reply with quote

Why are you posting this in the JCL forum?

JCL is the one language that can, with a certainty of 100%, NOT do it!
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Jan 11, 2011 2:53 am
Reply with quote

Hi,

which SORT product are you using ?

If you are using DFSORT, search the forum for RESIZE

Gerry
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
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
Search our Forums:

Back to Top