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

export / import variable to memory

Former Member
0 Likes
5,716

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

1 ACCEPTED SOLUTION
Read only

Sougata
Active Contributor
0 Likes
2,516

>

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

5 REPLIES 5
Read only

Former Member
0 Likes
2,516

>

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

Read only

0 Likes
2,516

Thanks for Amit's reply.

Does 'Yes' mean for first or last question?

Read only

0 Likes
2,516

For first question.

Read only

Sougata
Active Contributor
0 Likes
2,517

>

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

Read only

Former Member
0 Likes
2,516

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.