by LasseH » Tue Nov 16, 2010 1:50 pm
Here's the Reuslt, JCL and "procedure division" from exit35
JCL:
// SET USS='/users/dfs/data/DW/LASSEINB.txt'
//*
//*--------------------------------------------------------
//* STEPNAME: SORT
//* STEPINFO: SORT
//*--------------------------------------------------------
//SORT EXEC PGM=SORT
//* dcb=ps vb 717
//SORTIN DD DISP=SHR,DSN=INBP.INBP110M.UTFIL.S030.G0018V00
//EXITLIB DD DISP=SHR,DSN=GKFP.GEM.EXECLIB
//* ZFS
//SORTOUT DD PATH='&USS',
// PATHDISP=(KEEP,DELETE),
// PATHOPTS=(OWRONLY,OCREAT),
// PATHMODE=(SIRWXU,SIRWXG,SIROTH),
// FILEDATA=TEXT,
//* lrecl=713 + 4 for rdw + 1 for crlf
// LRECL=718,RECFM=VB
//SYSOUT DD SYSOUT=*
//DFSPARM DD *
OPTION COPY
MODS E35=(DSEXIT35,6100,EXITLIB,C)
END
//*
EXIT35:
if l01-endrec
set e35-donotreturn to true
else
move leaving-reclen to return-reclen
add +1 to return-reclen
move l02-leavingrec to l03-returnrec
move crlf to l03-record(return-reclen)
set e35-alter-repl-record to true
end-if
move sorte35-rc to return-code
goback
RESULT:
ALP100I JOBNAME STEPNAME PROCSTEP RC EXCP CONN TCB
ALP100I K39828J6 DELETE 00 38 2 .00
+IEC020I 001-3,K39828J6,SORT ,SORTOUT ,SMS
+IEC020I NO SYNAD EXIT SPECIFIED
IEA995I SYMPTOM DUMP OUTPUT 878
SYSTEM COMPLETION CODE=001
TIME=16.34.45 SEQ=20016 CPU=0000 ASID=0093
PSW AT TIME OF ERROR 078D1400 80E2FA1C ILC 2 INTC 0D
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
DATA AT PSW 00E2FA16 - 00181610 0A0D1851 A7C80048
AR/GR 0: 8F9EAC66/80000000 1: 00000000/80001000
2: 00000000/00008DA8 3: 00000000/0000A6F8
4: 00000000/0000A630 5: 00000000/0005F870
6: 00000000/00FD86B8 7: 00000000/00155198
8: 00000000/00008D60 9: 00000000/07D2CD78
A: 00000000/009CAFE8 B: 00000000/80E2F65E
C: 00000000/0005F870 D: 00000000/00006608
E: 00000000/00FB4008 F: 00000000/00000000
END OF SYMPTOM DUMP
+CEE0374C CONDITION=CEE3250C TOKEN=00040CB2 61C3C5C5 00000000
WHILE RUNNING PROGRAM ICETRYB
AT THE TIME OF INTERRUPT
PSW 078D0400 00CABCA2
GPR 0-3 00000300 80001000 00008DA8 0000A6F8
GPR 4-7 0000A630 0005F870 00FD86B8 00155198
GPR 8-B 00008D60 07D2CD78 009CAFE8 80E2F65E
GPR C-F 0005F870 00006608 00FB4008 00000000
FLT 0-2 2610000000000000 1800000000000000
FLT 4-6 0000000000000000 0000000000000000
IEC204I 0000000B,K39828J6,SORT ,SORTOUT -000,DOWRITE ,0004
IEC214I 614-10,IGG0201W,K39828J6,SORT,SORTOUT
IEC999I IFG0TC0A,IFG0TC0B,K39828J6,SORT ,DEB ADDR=9D7CC8
CC
IEF450I K39828J6 SORT - ABEND=S001 U0000 REASON=00000000 883
TIME=16.34.45