Thanks @Jim.

All I can say is duh! You stare at your own code ...

The register form parameters are because it is intended to be a general purpose 
FREEMAIN callable from C.

Charles

On Sat, 31 Aug 2024 00:21:15 +0000, Jim Mulder <[email protected]> wrote:

>  You did not specify a positional parameter.  It looks like the macro assumed 
> RU (SVC x'78') in that case, but you set R0 and R1 in the format for R (SVC 
> x'A').
>
>FREEMAIN R,A=(1),LV=(0)           should work better.  
>
>But I would recommend FREEMAIN RU,SP=1   

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

Reply via email to