I am surprised that would fail but I don't know SVC 99 well enough to say "no, 
that's wrong."

Seeing as the job is set up with the dataset already "hard coded" in Step 2 -- 
why not allocate it with JCL in Step 1?

If you do that would the SVC 99 then succeed (so you would not have to change 
your code)? I don't know.

Charles

On Tue, 18 Feb 2025 18:29:37 +0000, Mark Jacobs <[email protected]> 
wrote:

>I have a two step job. Step 1 attempts to perform a dynamic allocation of a 
>dataset. It's failing since step 2 allocates the dataset DISP=SHR, and the 
>enqueue is already created before the dynamic allocation is attempted.
>
>Is there anyway around this problem?

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

Reply via email to