Professional Documents
Culture Documents
SOC7
2. SOC7 2nd Ex
3. XREF
4. OFFSET
5. MAP
6. SSRANGE
7. Abending Pgm with User abend
8. User abend U3095
9. User abend U0016
10. U1056
- 2 to 13
- 14 to 30
- 32
- 38
- 39
- 41
- 42
- 43
- 50
- 56
Here, 1068 falls between 00FAC and 00111A. So, last executed statement will be
WRITE with address 00FAC.
Find this command by giving line no as 1204 which corresponds to Write stat with
address 000FAC as follows
If you go up this CPS-ELG-SUB-RECORD has copybook layout as METIts populated by IND- recs from individual file as follows
0029FA will be some where between 0029EA and 002A16. But, we have added
compilation option as PROCESS SSRANGE,XREF,MAP,OFFSET,FLAG(W,W),
so it will advance some address spaces from exact location. So, give display stats starting
from 5 to 10 address above.
So, exact stat last executed will be 0029EA i.e.,
So, I-NFEXTRAC-FL is having bad data. We can find the bad record as follows --
Compiled after giving display and submitted unit testing job as follows
So, till #8 it executed and abended at address 0029FE i.e, in compiled code with
display stats as
After 0029CE Move stat, it abended with record as #8H NORTHWEST MED
BUREAU 938 938 12172010(from unit test job output). Delete this rec from input file
and submit the job.
XREF:
Here,
"M" preceding a data-name reference indicates that the data-name is modified by this
reference.
Defined
- line no for the data-name
Cross-reference of data-names name of the data-name
References
- in which lines in procedure division the data-name is
Used
Ex: 95 CPS-ELG-FILE . . . . . . . . . 36 39 1073 1296
95 - data-name
MAP:
F11
SSRANGE:
U3095
Here, file status code 23 means record not found in DEP HISTORY FILE.
So, Abended in pgm MEDID825, goto this pgm and search for the string ERROR ON
READ OF DEP HISTORY FILE (this string is displayed in the abended job last step)
So, in para C6200-LOAD-FROM-DEP-HISTORY it is abending. Give display for MEDKEY after MOVE stat and find the record.
Solution will be
1. deleting this record from the input file ME.PDLTR.MIP11479.ARCSORT(this
the input file(see below for how I got this file as input file) from which recoerd is
selected and searching for the matching rec in DEP HISTORY file, as the
matching rec not found in DEP HISTORY file, job is abended.)
Here, MED-* is populated from MET-* which is copybook for Subscriber file as
U0016
Its a space abend, So increase the space for input file and restart.
CP.TEST.CNTRLIB(CPLEDITS) will as
Here, its unable to read table file. I just copied table file from TSTA and restarted.