The following DFSORT/ICETOOL JCL will give you the desired results. You only showed me the output you wanted for final output but not for the nomatch file. I just assumed that you only wanted the data that is present in OPVL file. Make sure to have disp=MOD for the file T1
//STEP0100 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//PSAM DD DSN=INPUT.PSAM,DISP=SHR
//OPVL DD DSN=INPUT.OPVL,DISP=SHR
//OPPH DD DSN=INPUT.OPPH,DISP=SHR
//TEMP DD DSN=&&T1,DISP=(MOD,PASS),SPACE=(CYL,(60,20),RLSE)
//OUT DD SYSOUT=*
//NOMATCH DD SYSOUT=*
//TOOLIN DD *
COPY FROM(PSAM) TO(TEMP) USING(CTL1)
SORT FROM(OPVL) TO(TEMP) USING(CTL2)
SORT FROM(OPPH) TO(TEMP) USING(CTL3)
SORT FROM(TEMP) USING(CTL4)
//CTL1CNTL DD *
OUTREC BUILD=(01:1,11,
13:82,10,
24:92,16,SFF,ZD,LENGTH=15,
40:+0,TO=ZD,LENGTH=15,
56:+0,TO=ZD,LENGTH=15,
90:C'100')
/*
//CTL2CNTL DD *
INCLUDE COND=(182,2,CH,EQ,C'PN')
SORT FIELDS=(182,16,CH,A)
OUTFIL FNAMES=TEMP,NODETAIL,REMOVECC,BUILD=(92X),
SECTIONS=(182,16,
TRAILER3=(01:187,11,
13:146,10,
40:TOT=(101,16,SFF,ZD,LENGTH=15),
56:15C'0',
90:C'010'))
/*
//CTL3CNTL DD *
INCLUDE COND=(131,11,CH,NE,C' ')
SORT FIELDS=(131,11,CH,A)
OUTFIL FNAMES=TEMP,NODETAIL,REMOVECC,BUILD=(92X),
SECTIONS=(131,11,
TRAILER3=(01:131,11,
40:15C'0',
56:TOT=(291,16,SFF,ZD,LENGTH=15),
90:C'001'))
/*
//CTL4CNTL DD *
OPTION EQUALS
INREC OVERLAY=(94:7C'0',C'1')
SORT FIELDS=(1,11,CH,A)
SUM FIELDS=(40,15,ZD,56,15,ZD,90,3,ZD,94,8,ZD)
OUTFIL FNAMES=OUT,INCLUDE=(90,3,ZD,GT,100),REMOVECC,
BUILD=(01:01,23,
24:24,15,ZD,EDIT=(SIIIIIIIIIIIT.TT),SIGNS=(+,-),
40:40,15,ZD,EDIT=(SIIIIIIIIIIIT.TT),SIGNS=(+,-),
56:56,15,ZD,EDIT=(SIIIIIIIIIIIT.TT),SIGNS=(+,-),
72:24,15,ZD,SUB,40,15,ZD,SUB,56,15,ZD,
EDIT=(SIIIIIIIIIIIT.TT),SIGNS=(+,-)),
HEADER1=(01:'PA NUMBER',
15:'END DATE ',
28:'AUTH. AMOUNT',
41:'OPVL CLOSED AMT',
59:'OPPH EXPD AMT',
77:'REM.BALANCE')
OUTFIL FNAMES=NOMATCH,REMOVECC,
INCLUDE=(90,1,ZD,EQ,0,AND,91,1,ZD,EQ,1),
BUILD=(01:01,23,
24:40,15,ZD,EDIT=(SIIIIIIIIIIIT.TT),SIGNS=(+,-)),
HEADER1=(01:'PA NUMBER',
15:'END DATE ',
28:'AUTH. AMOUNT')
/*
Hope this helps...