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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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