I haven't checked older documentation, but for 2.5 it is documented that 
"LINKAGE=SYSTEM Indicates that the linkage is by non-branch entry. Do not 
specify LINKAGE with ECT=YES. You must specify LINKAGE=SYSTEM for all other 
unauthorized invocations."


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Schuster [[email protected]]
Sent: Saturday, July 2, 2022 3:32 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

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

Reply via email to