try allocating with disp shr  - default is old
"ALLOC F(INDD) da("dsnname")  SHR"              


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Maria Brown
Sent: Wednesday, February 18, 2009 1:13 PM
To: [email protected]
Subject: EXECIO

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