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

Only want to sort particular record in a transaction


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Mon Feb 25, 2008 5:33 pm
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: 199
Location: india

PostPosted: Mon Feb 25, 2008 6:02 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top