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

How to SORT two output files in different orders?


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

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Fri Jan 09, 2009 9:28 am
Reply with quote

Hi,

I have to sort a file which has got 2 output files and each of them need to be in different order.

Example :
Code:
OUTFIL FILES=1         
SORT FIELDS=(11,2,PD0,A)
OUTFIL FILES=2,OMIT=(24,1,CH,EQ,C'T',OR,24,1,CH,EQ,C'O',OR,
                        24,1,CH,EQ,C'R',OR,24,1,CH,EQ,C'G')
SORT FIELDS=(168,2,PD,A,42,2,PD,A,15,9,PD,A)               

But this doesn't seem to work as I am not able to SORT 2 output files in two different sorting order. Can someone help?

Thanks,
Raghav

Edited: Please use BBcode when You post some code, that's rather readable, Thanks...Anuj
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Jan 09, 2009 10:23 am
Reply with quote

Hi,

I believe this was answered in this link ibmmainframes.com/viewtopic.php?t=37232


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

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 0
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top