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
 
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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
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
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

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