Maria

You can alternatively use 

"FREE F(INDD)" in your REXX Exec. 

OR

In option 6 of ISPF give Free f(indd) each time you run into such
problems.


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 Fletcher, Kevin
Sent: Thursday, February 19, 2009 12:06 AM
To: [email protected]
Subject: Re: EXECIO

Maria,

You may need to add a DISP(SHR) to your ALLOC. I also do not see where
you are updating a particular member, that could also be a problem. I do
not know the exact syntax for updating a member, but would be worth you
while to investigate it.

Just my 2 cents worth.

HTH

Fletch

<snip>
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)"                          

</snip>

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