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

Overlay all the data in the column from one file to another


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

New User


Joined: 28 Sep 2006
Posts: 56

PostPosted: Tue May 08, 2007 5:25 pm
Reply with quote

I have one column by name with pic x(9) in one file, and i have another

file with one column by name with pic x(9).

I have to overlay or copy all the data in the column name from one file to another file column name

Could anyone suggest me the right solution.

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue May 08, 2007 10:09 pm
Reply with quote

Hello,

What should happen when there is a different number of records in the 2 files?

Which sort product does your location use?
Back to top
View user's profile Send private message
Madhu Reddy

New User


Joined: 28 Sep 2006
Posts: 56

PostPosted: Thu May 10, 2007 3:23 pm
Reply with quote

No problem what ever may be the records in the other file .

Just i need to overlay the record from file1 to file2 for one particular column


Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Thu May 10, 2007 7:26 pm
Reply with quote

Hello,

Quote:
No problem what ever may be the records in the other file


I suspect it does matter. . .

Please post an example of file 1 with 5 records and file 2 with 7 records and show how your "overlay" would work.

When we see what you require, we will be better able to offer suggestions.

Keep in mind that while your question is completely clear to you, it may not be to everyone else icon_confused.gif
Back to top
View user's profile Send private message
Madhu Reddy

New User


Joined: 28 Sep 2006
Posts: 56

PostPosted: Tue May 15, 2007 10:02 am
Reply with quote

I have one file as file1 with data as


name phone# address city state
madhu
reddy
sudhi
sheny
nische

I have another file with file2 with data as

name phone# address city state
sirish
deepik
seeris
shtrny
ntytert

Now my requirement is i have to overlay the data of column name from file1 to file2.

Could anyone suggest me the right answer.

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue May 15, 2007 8:32 pm
Reply with quote

Hello,

That's a start. From that data, please show what you want the output to look like.

You also did not post the data as requested. You need to show files with a different number of records.

It may help if you post what you need to do rather than how you want to accomplish it.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top