On Mon, 20 Jul 2009 07:53:59 -0500, Neal Eckhardt wrote:
>
>CALL BPXWDYN("ALLOC DD(OUT) DA('WORK.TAPE') NEW KEEP UNIT(TAPE)
>REUSE")
>
>Gives me a Return Code 20 with the following message:
>
>IKJ56221I DATA SET WORK.TAPE NOT ALLOCATED, VOLUME NOT AVAILABLE+
>IKJ56221I VOLUME  NECESSARY TO SATISFY YOUR REQUEST NOT ON
>SYSTEM, AND CANNOT BE MOUNTED
>
>a) What is the difference between the two types of allocation. I wouldn't
>expect any difference, but obviously there is.
>
>b) What the heck is the IKJ56221I trying to tell me. The M&C is even less
>clear than the message.
>
There's a Text Unit to SVC 99 that allows mounts.  ALLOCATE sets
this to YES; BPXWDYN defaults this to NO,

>c) How can I fix this?
> 
Supply the MOUNT keyword to BPXWDYN.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to