Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DFSORT/ICETOOL :: sort with previous record

$
0
0
Author: anatol
Subject: sort with previous record
Posted: Thu Oct 06, 2016 2:36 am (GMT 5.5)

Hi,

I have file (I need just idea, lets it fb 80)
Code:

AAAAA       
AAAAA   8   
AAAAA   7   
AAAAA   6   
AAAAA   W   
AAAAA   0   
AAAAA   1
   


in position 7 if value is W i need in sort order previous record before record W

Code:

AAAAA     
AAAAA   0 
AAAAA   1 
AAAAA   6 
AAAAA   W 
AAAAA   7 
AAAAA   8 


Is it possible?


Viewing all articles
Browse latest Browse all 9405

Trending Articles