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
 

 

Write Matched and UnMatched rcords in separate files.

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

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Thu Nov 10, 2011 12:30 am    Post subject: Write Matched and UnMatched rcords in separate files.
Reply with quote

Hello,

I have a requirement as mentioned below.

File1 : LRECL - 354 bytes

11111111 ....................
22222222 ....................
33333333 ....................

File2 : LRECL - 354 bytes

22222222 ....................
77777777 ....................

Output file1 - LRECL- 354 bytes ( Record with matched key )

22222222 ....................

Output file2 - LRECL- 354 bytes ( Record with unmatched key )

11111111 ....................
33333333 ....................
77777777 ....................


Can this be done through join keys using syncsort? If so then can i have the code for the same.
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: Thu Nov 10, 2011 1:09 am    Post subject:
Reply with quote

Hello,

After 3 years and still post a Syncsort topic in the DFSORT part of the forum. . . icon_sad.gif

There are examples of doing what you want in the JCL part of the forum. Pick one and modify it for your use.

If there are problems, post what you have tried and what went wrong (syntax error, abend, or undeisred results). Someone should be able to clarify it you have a problem that you cannot correct.
Back to top
View user's profile Send private message
xknight

Active User


Joined: 22 Jan 2008
Posts: 117
Location: Liberty city

PostPosted: Fri Nov 11, 2011 9:52 am    Post subject:
Reply with quote

Hello,

Quote:
Can this be done through join keys using syncsort? If so then can i have the code for the same.


Guessing, search (posts) options is not working for you..

Check here:

http://ibmmainframes.com/viewtopic.php?t=47436&highlight=join+keys
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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