Try using disp = old

The "Old " is with respect to the PDS and not the member that is
created.

Thanks & Best Regards.
Umamaheshwar Iyer | Project Manager | Tech Mahindra 
Hinjwadi, Pune - 411 004, INDIA
Ph. Office: +91 20 4225 0801 | Cell: +91 97666 44472 
Email: [email protected]
www.techmahindra.com 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Barkow, Eileen
Sent: Thursday, February 19, 2009 12:00 AM
To: [email protected]
Subject: Re: EXECIO

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

============================================================================================================================


Disclaimer:

This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at <a 
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html</a>
 externally and <a 
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html</a>
 internally within Tech Mahindra.

============================================================================================================================

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