On Thu, 11 May 2017 15:27:38 -0500, Allan Kielstra wrote:

>This statement:
>
>>>CEECSA is always address by reg 12, while inside a LE module.
>
>is not strictly true.  GPR12 is only required to point to CEECSA on entry to 
>and exit from a procedure.  Compilers are free to use GPR12 for whatever other 
>purpose they chose at other program points.
>
>That means that if you get a crash in the middle of a procedure (COBOL 
>PROGRAM) you should not look at the current value of GPR12.  You should go 
>back to the register save area and find what GPR12 was on entry to the 
>procedure.
>
>(I mention this because with COBOL V5/6, GPR12 actually is often reused inside 
>COBOL programs.)

I think you both mean CEECAA, the Common Anchor Area.

-- 
Tom Marchant

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

Reply via email to