Since you are not executing in supervisor state and key 0, you need to specify
LINKAGE=SYSTEM on the TIMEUSED macro.

Jim Mulder z/OS Diagnosis, Design, Development, Test  IBM Corp. Poughkeepsie NY 

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Schuster
Sent: Saturday, July 2, 2022 3:33 AM
To: [email protected]
Subject: TIMEUSED macro

There was a discussion from 2020 about 'Strange S0C4 on z15' where the 
instruction

L     15,X'B4C'(0,0)        58F0 0B4C

would cause 0C4 accessing the SVT.

It seems that the TIMEUSED macro, even as of z/os 2.5 level (01* STATUS = 
HBB77C0 ) when coded

TIMEUSED STORADR=STIME  

generates the sequence

TIMEUSED STORADR=STIME         
MACDATE 04/06/2005                                      
LA    1,STIME            AREA FOR RETURN OF TIME VALUE  
L     15,X'B4C'(0,0)     SVT ADDRESS                    
L     15,X'88'(0,15)     ADDRESS OF SERVICE ROUTINE     
BASSM 14,15                                             


which causes 0C4 on the   L     15,X'B4C'(0,0) instruction.

Does the TIMEUSED macro need updating to access the SVT the supported modern 
way?

Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to