MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Combine 2 files with diferent fields as 1 record

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
nag77
Beginner


Joined: 03 Jan 2006
Posts: 11
Topics: 8

PostPosted: Fri Feb 10, 2006 1:11 am    Post subject: Combine 2 files with diferent fields as 1 record Reply with quote

Hi

I have two files,want to concatenate the different fields in those two files using sort step.

for example first 4 fields from the first file and last 3 fields from the second file.

thanks in advance

NAG.
Back to top
View user's profile Send private message
Alain Benveniste
Beginner


Joined: 04 May 2003
Posts: 92
Topics: 4
Location: Paris, France

PostPosted: Fri Feb 10, 2006 3:42 am    Post subject: Reply with quote

Nag,

Your example is too evasive.
Do you have duplicates in both files ?

Please give a concret example

Alain
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Feb 10, 2006 3:53 am    Post subject: Reply with quote

Nag77,

Your requirement is simple, but it has quite a few complications.
1. First we need to know what sort product do you use (Syncsort / DFSORT)
2. The version of Sort product
3. Data stored in these two files - does your input files have any duplicates.
4. What is the key field position.
5. LRECL and RECFM of input files ???

Anyway, lots of queries are already posted in this board on similar requirements. Please search before posting. Check the FAQ pages.

http://www.mvsforums.com/helpboards/viewtopic.php?t=5399

Thanks,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group