SORTIN => Record format . . . : VB Record length . . . : 1025
SORTOUT => Record format . . . : FB Record length . . . : 12
Input record
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
****** ***************************** Top of Data ******************************
000001 021000001351791m 430352 <2424 %000000 ð004518 æ0565951 SRL 0 §DUBB
FFFFFFFFFFFFFFF9103FFFFFF04FFFF06FFFFFF08FFFFFF09FFFFFFF00EDD4401F07CECC
0210000013517914C0C4303520C24240C0000000C0045180C05659511C293001C01C4422
------------------------------------------------------------------------------
000002 021000002310513kð 600000 <2278 %000000 ð001784 æNO-PREV CO 0 §BUSS
FFFFFFFFFFFFFFF9803FFFFFF04FFFF06FFFFFF08FFFFFF09DD6DDCE00CD44401F07CEEE
0210000023105132C0C6000000C22780C0000000C0017840C56079551C360001C01C2422
****** ***************************** Top of Data ******************************
000001 021000001351791m 430352 <2424 %000000 ð004518 æ0565951 SRL 0 §DUBB
FFFFFFFFFFFFFFF9103FFFFFF04FFFF06FFFFFF08FFFFFF09FFFFFFF00EDD4401F07CECC
0210000013517914C0C4303520C24240C0000000C0045180C05659511C293001C01C4422
------------------------------------------------------------------------------
000002 021000002310513kð 600000 <2278 %000000 ð001784 æNO-PREV CO 0 §BUSS
FFFFFFFFFFFFFFF9803FFFFFF04FFFF06FFFFFF08FFFFFF09DD6DDCE00CD44401F07CEEE
0210000023105132C0C6000000C22780C0000000C0017840C56079551C360001C01C2422
Output record
=COLS> ----+----1--
****** ***************************** Top of Data ******************************
351791 000001351791
FFFFFFFFFFFF
000001351791
------------------------------------------------------------------------------
310513 000002310513
FFFFFFFFFFFF
000002310513
****** ***************************** Top of Data ******************************
351791 000001351791
FFFFFFFFFFFF
000001351791
------------------------------------------------------------------------------
310513 000002310513
FFFFFFFFFFFF
000002310513
Jcl
//S10 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=SHR,DSN=...
//SORTOUT DD DSN=...,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,1,),RLSE,,),
// RECFM=FB,LRECL=12
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(05,03,CH,EQ,C'021')
OUTFIL OUTREC=(08,12),CONVERT
//*
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=SHR,DSN=...
//SORTOUT DD DSN=...,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,1,),RLSE,,),
// RECFM=FB,LRECL=12
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(05,03,CH,EQ,C'021')
OUTFIL OUTREC=(08,12),CONVERT
//*
Can someone help me?
Thanks