I recently found in an old Xephon release a program whose purpose is to retrieve information from PR/SM.
As I looked at the code, I found something new to me : DIAGNOSE CODE
FIX0 DS 0H
LA R0,1 AUTHORIZATION SVC : AUTH ON
MODESET MODE=SUP,KEY=ZERO
LRA R1,0(R8,0) LOAD REAL ADDRESS OF BUFFER
LA R0,4 GET INFORMATION FROM PRSM
DC X'83',X'10',X'0204' DIAGNOSE CODE 0204
LTR R0,R0 EXECUTION CORRECT ?
BNZ ITSBAD NO
MODESET MODE=PROB,KEY=NZERO
XR R0,R0 AUTHORIZATION SVC : AUTH OFF
LA R0,1 AUTHORIZATION SVC : AUTH ON
MODESET MODE=SUP,KEY=ZERO
LRA R1,0(R8,0) LOAD REAL ADDRESS OF BUFFER
LA R0,4 GET INFORMATION FROM PRSM
DC X'83',X'10',X'0204' DIAGNOSE CODE 0204
LTR R0,R0 EXECUTION CORRECT ?
BNZ ITSBAD NO
MODESET MODE=PROB,KEY=NZERO
XR R0,R0 AUTHORIZATION SVC : AUTH OFF
Can anyone point me to a documentation on the subject, I did'nt find anything thus far and I find it really interesting.
Thank you