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
 
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 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 Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

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