DEALLOC requires 2 text units - the DDName tu and an UNALLOC tu

***UNALLOC TU************
LA    6,DUNUNALC       POINT TO UNALLOC KEY
STH   6,S99TUKEY       & PLUG IT INTO T.U.
LA    6,0              0 PARMS FOR UNALLOC
STH   6,S99TUNUM       PLUG INTO T.U.

MVI   S99VERB,S99VRBUN PLUG IN UNALLOCATE REQUEST CODE

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Ballentine
Sent: Tuesday, October 30, 2018 8:15 AM
To: [email protected]
Subject: Re: SVC99 DEALLOC Failure

That error code really means "SVC 99 can't find a required key in the list of 
text units."  You must specify one of DDNAME, DSNAME, or PATH for SVC 99 
unallocation.  For that error, the system only cares that it has found one of 
those three keys in the list during unallocation, and what you did at 
allocation time doesn't matter - SVC 99 is just doing basic parameter list 
validation.

You said "in the RBX I get ERROR CODE 0388" - you mean the S99ERROR field in 
the S99RB?  There are some codes in the S99RBX, but those are different.

Double check that the pointer to the text unit list for the unallocation is 
pointing to the correct storage, the text units contain the correct keys, and 
that you don't have the end of list indicator (the high-order bit) turned on 
for any of the text unit pointers other than the last.

-Scott Ballentine ([email protected])
z/OS Allocation, Scheduler, SMF

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

________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

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

Reply via email to