Don't most member allocation parameters apply to the entire dataset? I would expect RLSE to behave that way. Consider that classic error in which the newbie codes DSN=WHATEVER(FOO),DISP=(OLD,DELETE) and is surprised that the whole dataset, not just FOO, goes away.
Not what you asked, but is SPACE=(,,RLSE) valid syntax? I think the first two parameters are required, sort of. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Thomas David Rivers Sent: Tuesday, October 27, 2020 3:47 AM To: [email protected] Subject: SVC 99 RLSE text unit on DISP=SHR allocation with a PDS/PDSE member name I have a DYNALLOC set up with a default of adding the RLSE text unit (to release the space after a CLOSE.) This is to retrieve a system-provided DD name for an eventual OPEN OUTPUT operation, for opening a DSN(MEM) PDS/PDSE member. The PDS in question already exists (happens to be a PDSE.) That is, this is not a NEW allocation. So, basically it would be something like: //<sysname> DD DSN=MY.PDSE(MEM),SPACE=(RLSE),DISP=SHR (no other space parms are provided in the DYNALLOC text-units, it's invalid JCL but seems to be OK for DYNALLOC.) It seems that if the RLSE text-unit is provided, _all_ of the remaining space in the PDS/PDSE is released, not just "space" for the member; that is, the entire PDS/PDSE allocation is truncated on the CLOSE. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
