IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is it possible by JCL Sort


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkata.bellala

New User


Joined: 11 Mar 2005
Posts: 4

PostPosted: Mon Jun 20, 2005 6:53 pm
Reply with quote

Hi All,

I have an doubt in JCl.

I have two Input file which have same record length, but some records in input file 1 is not similar to the input file 2.
the out put should be 3 files (OP1, OP2 & OP3).

Code:

File Name:     IP1   IP2  OP1  OP2   OP3
Records          1     1    1    3     7
                 2     2    2    4     8
                 3     6         5
                 4     7
                 5     8


Here 1 to 8 are the records. Is it possible by JCL? IF yes pls let me know.


Regards,
Venkata
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Jun 20, 2005 6:59 pm
Reply with quote

Do you have any specifc requirement on this....

On what basis you want to move records in output files.

Need to be more clear...

Regards,

Priyesh.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Jun 20, 2005 8:42 pm
Reply with quote

Venkata,

You can do this kind of matching using the SPLICE operator of DFSORT's ICETOOL, as discussed in this Smart DFSORT Trick:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst02.html#t05
Back to top
View user's profile Send private message
venkata.bellala

New User


Joined: 11 Mar 2005
Posts: 4

PostPosted: Tue Jun 21, 2005 6:58 pm
Reply with quote

Hi all,

Thank you for the solution.

Regards,
Venkata Bellala.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
Search our Forums:


Back to Top