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

DFSORT/ICETOOL :: RE: sort with previous record

$
0
0
Author: anatol
Subject: Reply to: sort with previous record
Posted: Thu Oct 06, 2016 4:03 am (GMT 5.5)

oh, sorry Enrico ... yes - the sort key is first 5 positions ( i need just idea how)...
and you are right about what I try to get
Input like
Code:

[000100 AAAAA     
000200 AAAAA   8
000300 AAAAA   7
000400 AAAAA   6
000500 AAAAA   W
000600 AAAAA   0
000700 AAAAA   1
000900 BBBBB   8
001000 BBBBB   7
001100 BBBBB   0
001200 BBBBB   W


Output
Code:

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


Viewing all articles
Browse latest Browse all 9405

Trending Articles