Problem:
Trying to create some Librarian statements from a Librarian Index listing
Input:
AAGG002B 0 13/01/22 10:10 SPJH PSTB
-1 13/01/22 10:10 SPJH PSTB
AAGP006 0 13/01/28 15:02 XVPC HOBA/PAKA
-1 13/01/28 15:02 XVPC HOBA/PAKA
AAGP006O 0 12/11/22 07:44 PBBK HOBA/PAKA
AAGP006S 0 12/07/12 15:13 BLHV HOBA/PAKA
-1 13/01/22 10:10 SPJH PSTB
AAGP006 0 13/01/28 15:02 XVPC HOBA/PAKA
-1 13/01/28 15:02 XVPC HOBA/PAKA
AAGP006O 0 12/11/22 07:44 PBBK HOBA/PAKA
AAGP006S 0 12/07/12 15:13 BLHV HOBA/PAKA
Colums are: Membername(2,8) arclevel(10,4) date(15,8) time(24,5) .....
Requested output:
-EXTRACT AAGG002B,ARC=-1
-EXTRACT AAGG002B,ARC=-0
-EXTRACT AAGP006,ARC=-1
-EXTRACT AAGP006,ARC=-0
-EXTRACT AAGG002B,ARC=-0
-EXTRACT AAGP006,ARC=-1
-EXTRACT AAGP006,ARC=-0
Is this possible with DFSort?
//Lasse
Code'd