# Exporting data from different notebooks to a common file

I am doing some calculations from different notebooks. I need to export the results from all those notebooks in columns of the same file, like

a1 b1 c1
a2 b2 c2
a3 b3 c3
. . .

where a, b and c are the different notebooks.

-
i.stack.imgur.com/TYZEC.png –  belisarius Mar 10 '13 at 15:38
It is not clear what you asking here. Do you want the data in the external file for use outside Mathematica? Or do you think you need the external as a conduit between the three notebooks? –  m_goldberg Mar 10 '13 at 16:05

What belisarius is trying to say in his comment is that variables in one notebook are normally accessible in another without problems.

If you happen to have set your notebooks to have unique contexts like this

then you can obtain the qualified name for the variables in two ways:

(to be executed in the notebook where the variable is defined).

You then use the full names in Export to export the results to an external file.

-
I am sorry I wasn't clear. I need to print all my results in the same .dat. However, this results are obtained from different Mathematica notebooks. I want to export all the results in columns, such that I can differentiate them more easily. Thank you in advance for all your help. –  Jose J Alonso Mar 10 '13 at 18:46
@JoseJAlonso You're still rather confusing. Is your problem exporting in columns or accessing data in different notebooks? An answer to the latter is provided above and an answer to the former can be found in the Export documentation (here). There are also many questions on exporting on this site, that can be easily found without much effort. –  Sjoerd C. de Vries Mar 10 '13 at 19:40
You were right, I have already solve the problem, thanks... –  Jose J Alonso Mar 11 '13 at 8:00