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
 
Only want to sort particular record in a transaction

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
noorkh

New User


Joined: 06 Mar 2006
Posts: 76
Location: Chennai

PostPosted: Mon Feb 25, 2008 3:51 pm    Post subject: Only want to sort particular record in a transaction
Reply with quote

Hi all,

I have following requirement.

I got a flat file which is based on some transactions. Transactions in the sense that file will contain policy quote related details in different row(records). In that i want to sort only quote related rows without changing anything in other.

For eg:

I have below transaction:

POL1
POL2
QTE1 123
QTE2 321
POL1
POL2

in the above 6 records i want to sort only QTE1,QTE2 records. POL records should not be sorted.

Can any one tell me how to do that? Actually i tried with INCLUDE COND but it will give output of only QTE rows.. but i need POL also. even INREC IFTHEN didn't work for me.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Feb 25, 2008 5:33 pm    Post subject:
Reply with quote

Have you looked at Sort groups of records in Smart DFSORT Tricks?
Back to top
View user's profile Send private message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 195
Location: india

PostPosted: Mon Feb 25, 2008 6:02 pm    Post subject:
Reply with quote

hi noorkh,

Please show a better example of the records in your input files and the expected output records.
Back to top
View user's profile Send private message
noorkh

New User


Joined: 06 Mar 2006
Posts: 76
Location: Chennai

PostPosted: Mon Feb 25, 2008 6:27 pm    Post subject:
Reply with quote

Hi CICS guy,

Thanks for your material. I solved it using OVERLAY.

yeah rajatbagga, actually I want to do the same waht is done in the manual page no 29 specified by CICS guy.
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm

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