Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
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
References
priyesh.agrawal

Global Moderator


Joined: 28 Mar 2005
Posts: 1509
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: 4607
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1