Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8619
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
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us