Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compare the extract fields of file 1 with fields of file 2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ghouse basha

New User


Joined: 23 Feb 2009
Posts: 1
Location: pune

PostPosted: Mon Feb 23, 2009 5:31 pm    Post subject: Compare the extract fields of file 1 with fields of file 2
Reply with quote

I have 2 input files:
From 1st file i have extracted the related fields(eg:4 fields).
From 2nd file have to be extract and unstring it,coz its not in correct format as in 1st file.
After extracting and Unstring process over, have to compare the extract fields of file 1 with extract fields of file2.
And miscompares write to other file.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Feb 23, 2009 5:43 pm    Post subject:
Reply with quote

Yes, and - is there a question here ?

And, please DO NOT post the same topic twice.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Feb 23, 2009 9:27 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

If you have a question about data manipulation, you need to post some sample input(s) and the output(s) you want from that exact input data.

You should also explain the "rules" to get from the input to the output.

It is best to also mention the recfm and lrecl of all of the files.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 500
Location: USA

PostPosted: Wed Feb 25, 2009 2:15 am    Post subject:
Reply with quote

ghouse basha,

From your brief description, I think this can be achieved using the JOIN feature available in SyncSort for z/OS. However, as Dick mentioned, we would need to see some sample records from each of the 2 input files, along with the expected output. Once you provide that information, we can further assist you.

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us