Steve Thompson wrote:

>So a test of the code, once fixed to run AMODE=31, works when I do an 
>allocation of one of my own data sets using the DD of SYSUT1.

>When I do this allocate, I do not specify anything special for the text units. 
>I only use the DDNAME, DSNAME and disposition of SHR.

>Now, I come back and test the DEALLOC function, and I get a failure from 
>SVC99, and in the RBX I get ERROR CODE 0388 - ALL REQUESTS EXCEPT DSNAME 
>ALLOCATIONS REQUIRED KEY NOT SPECIFIED (I know this because the program has 
>SNAP logic built in so I can SNAP the Text units & pointers before and after 
>the SVC99 execution). This is also associated with IKJ56878I and that message 
>makes no sense.

Please post the COBOL statements and File Section, Working Storage Section data 
used for the allocation and also for de-allocation.


>Does anyone know if there is something special about SYSUTn as a DD for SVC99? 
>I use these all the time via REXX, and I don't have these problems there.

For SYSUT? Not where I know, but onless something else is also using it before 
or during the execution of your COBOL program. 

I am sure you are CLOSE it using standard COBOL first and then call BPXWDYN 
using FREE statements?

Alternative, repeat your COBOL program with other DD name?

PS: I also see you already got good replies. I hope they were also useful for 
you.

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to