You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The instruction Interpret 'Return F()' crashes CMS with message DMSITP143T ADDRESSING EXCEPTION OCCURRED AT 3ACD6A IN SYSTEM ROUTINE EXEC, RE-IPL CMS.. This has been verified in VM/370 CE 1.2, with the version of BREXX it ships with.
Test case:
/* */Interpret'Return F()'ExitF:ProcedureReturn2
This happens because something I haven't yet located in BREXX is calling Lscpy() with a to parameter set to 0. The protection exception occurs when Lscpy() attempts to store into the Lstr object at that location.
There is a work-around: store the function result into a variable, and return that instead. This example works fine:
Interpret'R = F()'ReturnRF:ProcedureReturn2
The text was updated successfully, but these errors were encountered:
RossPatterson
changed the title
Protection exception in LSTRCPY under INTERPRET.
Protection exception in Lscpy() under INTERPRET.
Aug 23, 2024
The instruction
Interpret 'Return F()'
crashes CMS with messageDMSITP143T ADDRESSING EXCEPTION OCCURRED AT 3ACD6A IN SYSTEM ROUTINE EXEC, RE-IPL CMS.
. This has been verified in VM/370 CE 1.2, with the version of BREXX it ships with.Test case:
This happens because something I haven't yet located in BREXX is calling
Lscpy()
with ato
parameter set to 0. The protection exception occurs whenLscpy()
attempts to store into the Lstr object at that location.There is a work-around: store the function result into a variable, and return that instead. This example works fine:
The text was updated successfully, but these errors were encountered: