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
 

 

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: 193
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 SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm


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