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
 
Is it possible by JCL Sort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Is it possible by JCL Sort
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: 1452
Location: Chicago, IL

PostPosted: Mon Jun 20, 2005 6:59 pm    Post subject: Re: JCL: Sort
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 Moderator


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

PostPosted: Mon Jun 20, 2005 8:42 pm    Post subject:
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:

http://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    Post subject: Thanks For The Solution.........
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am

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