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 Jim Mulder -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Charles Mills Sent: Friday, August 30, 2024 6:47 PM To: [email protected] Subject: Subpool FREEMAIN Okay, true confessions time: in more years of this than I care to admit I have never done a subpool FREEMAIN. I am trying to free subpool 1. R0 = x'01000000' R1 = 0 I issue FREEMAIN A=(1),LV=(0) I get ABEND S378 001C A user has requested that storage at virtual address 0 be freed. This can happen if the user intended an entire subpool, but has incorrectly specified a non-zero length with an address of 0. In the trace I see SVC 78 00000000_1428E5DC 00000003 01000000 00000000 What might I be doing wrong? (Nothing oddball here: no AMODE 64, no AR mode. z/OS V2R4.) Thanks! Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
