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

Joining two PS files


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

New User


Joined: 10 Aug 2009
Posts: 1
Location: Kochi

PostPosted: Wed Aug 12, 2009 5:19 pm
Reply with quote

I have two input files F1 and F2, F1 has the string 'Hello' and the file F2 has 'World' in it. I want to get the output file with 'Hello World' in the first record. How can this be done using any JCL utility ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Aug 12, 2009 5:24 pm
Reply with quote

Now that's a stunning business requirement if ever I heard one.

Is this a homework question, or a real question. Because if it is a real question you will need to provide a whole lot more information than you have here.

If it is a real question then you will probably receive a solution that is not viable for your problem because of the total lack of detail given.

If you are a student / rookie please click HERE to vist the appropriate forum.

Please feel free to come back to the main forum when you have a serious question.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Aug 12, 2009 5:24 pm
Reply with quote

Nithya Viswanadhan,

Hello and Welcome to the forums. icon_smile.gif

You can achieve this using your sort product . BTW, I doubt if this is a business requirement. If you tell us the complete requirement, we would be able to provide better suggestions.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Aug 12, 2009 5:26 pm
Reply with quote

Quote:
JCL utility


the only JCL utilites are things like JCL!SCAN, which will not accomplish what you want.

learn to use the proper terminology. what you want is a utility and the control cards for that utility to perform the operation that you have described.
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