I have a COBOL program that dynamically calls an assembler subprogram.
I justed wanted to play around a little with 64bit adressing and tried the following: (I omitted some standard macros we use in our company here, because I think they are not relevant.)
CSECT
AMODE 31
RMODE ANY
* some work is to be done here in AMODE(31)...
...
SAM64
MVC TESTF,=C'AMODE64'
SAM31
* continue to work in AMODE(31)...
...
PARAM DSECT
TESTF DS CL8
AMODE 31
RMODE ANY
* some work is to be done here in AMODE(31)...
...
SAM64
MVC TESTF,=C'AMODE64'
SAM31
* continue to work in AMODE(31)...
...
PARAM DSECT
TESTF DS CL8
Can anybody tell me why I am getting a S0C4 error?
Thanks!