I was referring to CP routines calling other CP routines.  It's true
that the CC also had to be set correctly when redispatching the code
running in a virtual machine after intercepting a privileged operation.

On 2020-06-02 10:54 p.m., Paul Gilmartin wrote (snipped):
On 2020-06-02, at 19:37:25, Gary Weinhold wrote:
I recall that VM/370 CP routines set CC before returning to the caller;
I don't have access to the source anymore (for the last 30 years or so)
to verify this and what technique was used.  I just remember thinking it
was different and clever (coming from a VS1/MVS background).

I'd guess stuffing it in the Old PSW before LPSW returns to caller.





Gary Weinhold
Senior Application Architect
DATAKINETICS | Data Performance & Optimization
Phone:+1.613.523.5500 x216
Email: [email protected]
Visit us online at www.DKL.com
E-mail Notification: The information contained in this email and any 
attachments is confidential and may be subject to copyright or other 
intellectual property protection. If you are not the intended recipient, you 
are not authorized to use or disclose this information, and we request that you 
notify us by reply mail or telephone and delete the original message from your 
mail system.

Reply via email to