Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Application Server file Accessing problem

Former Member
0 Likes
387

Hi all,

In my program i am writing data to the application server file ( temp.txt ) in Appending mode.

I am having 1000 records to write. In the mean time ( while temp.txt have 200 records ) i am running the same program using same application server file ( temp.txt ) same client but different user. That time writting option for both programs are successfully done.

But in my case i have to restrict the file writing at that time only one user.

Is there any way to lock the application server file for particular user while writting.

Thanks in Advance,

Florian.

Edited by: Florian Thiruselvan on Dec 22, 2008 6:51 AM

2 REPLIES 2
Read only

Former Member
0 Likes
333

i don't think it is Practicaly possible .

try with fm 'ENQUEUE_E_TXW_FILE '

Read only

Former Member
0 Likes
333

Hi Kishan Singh,

You are exactly write. Its working but i got some more problem in that.

Importing Parameter


      
      VOLDIR_SET    TYPE   TXW_LOCK2-VOLDIR_SET

      VOLDIR_SET	TXW_VOLSET    CHAR	10	0	Data file directory set
      

But the Data file directory set length is more than 10.

What shall i do? do you have any idea please suggest me.

Thanks

Florian