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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 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 write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm


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