You didn't specify disposition. it defaulted to OLD. Try 'SHR' at the end of
the alloc statement.

ITschak

On Wed, Feb 18, 2009 at 8:13 PM, Maria Brown <[email protected]> wrote:

> I am writing to a partitioned dataset via the EXECIO command.
> The dataset is also currently in use by an active application, which causes
> my EXECIO command to fail with "DATA SET IS ALLOCATED TO ANOTHER JOB
> OR USER".  Is there anway to get around this with execio?
>
> I can manually edit and save the file without any problems while the
> dataset is
> in use by the app.
>
> "ALLOC F(INDD) da("dsnname")"
> "execio * DISKW indd (STEM LINES. FINIS"
> "Free File(indd)"
>
> ----------------------------------------------------------------------
> 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
>

----------------------------------------------------------------------
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