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: 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
No new posts File Aid tool to compare numeric data balaji81_k DFSORT/ICETOOL 0 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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