2008 Nov 24 2:14 AM
Hi,
I would like to ask, when we use the following syntax to export and import variable to memory, will the memory be read by another user on another memory?
import zabc to zabc from memory id l_mem_id.
export zabc from zabc to memory id l_mem_id.
Is it safe for concurrent processing?
Thanks,
Vicki
2008 Nov 24 2:25 AM
>
> Is it safe for concurrent processing?
Yes, as long as the program clears the specific memory id after use.
import zabc to zabc from memory id l_mem_id.
export zabc from zabc to memory id l_mem_id.
FREE MEMORY ID l_mem_id.
Hope this helps.
Cheers,
Sougata.
2008 Nov 24 2:21 AM
>
> I would like to ask, when we use the following syntax to export and import variable to memory, will the memory be read by another user on another memory?
Yes.
2008 Nov 24 2:24 AM
Thanks for Amit's reply.
Does 'Yes' mean for first or last question?
2008 Nov 24 2:26 AM
2008 Nov 24 2:25 AM
>
> Is it safe for concurrent processing?
Yes, as long as the program clears the specific memory id after use.
import zabc to zabc from memory id l_mem_id.
export zabc from zabc to memory id l_mem_id.
FREE MEMORY ID l_mem_id.
Hope this helps.
Cheers,
Sougata.
2008 Nov 24 3:01 AM
I think I should read the help before I ask the question.
The memory is specified in the user session, so it is safe for concurrent processing.