What it means
Abend 047 means an unauthorized program issued a restricted SVC. IBM lists three ways a program counts as authorized: running in supervisor state, having PSW key 0-7, or running in an APF-authorized environment.
The system writes a logrec data set error record when it happens.
Typical causes
- The calling program is not running in an APF-authorized environment.
- The program runs in problem state with a PSW key of 8 or higher but issues an SVC that only authorized callers may use.
How to fix it
- Ask the system programmer to set a SLIP trap (COMP=047, ACTION=SVCD) to capture an SVC dump.
- In the system trace, find the SVC D entry for abend 047 and the preceding SVC entry for the same TCB and ASID; its PSW points to the unauthorized program.
- For an installation module, continue diagnosis in that module; for an IBM module, search for a fix or contact IBM Support with the dump and logrec record.
Example
Illustrative only; names and values are invented.
Illustrative only:
IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=047