I should not be playing with storage above the bar but I guess I'll use STMG to 
be sure.

Thanks everyone for their input! Much appreciated!

Regards,
Leo

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Tom Marchant
Sent: Tuesday, February 16, 2016 2:21 PM
To: [email protected]
Subject: Re: CSVFETCH exit

On Tue, 16 Feb 2016 19:11:38 +0000, Leonardo Vaz wrote:

>I see. In the case of CSVFETCH there is a 1024-byte work-area passed, 
>so no getmain should be needed, in this case, STM should be the best option?

You are passed a 144-byte save area, so I would use STMG to save the registers 
in F4SA format as documented in Chapter 2 of the Assembler Services Guide.

If you are sure that you won't be altering the high halves of registers 2 
through 12, STM is adequate.

--
Tom Marchant

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

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

Reply via email to