Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to SORT two output files in different orders?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: How to SORT two output files in different orders?
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: 1703
Location: Australia

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

Hi,

I believe this was answered in this link http://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    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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us