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 Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm


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