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

Import statement

Former Member
0 Likes
432

IMPORT g_last_run FROM DATABASE indx(cs) ID w_id.

can one explain me about this statement?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
409

Hi,

This will get the values from the table INDX with the parameter id value in the field W_ID and store in the variable G_LAST_RUN..

GO to SE16 give the table name INDX

In the field SRTFD enter the value in the field W_ID..

If you press execute you will find an entry...

Thanks,

Naren

2 REPLIES 2
Read only

Former Member
0 Likes
410

Hi,

This will get the values from the table INDX with the parameter id value in the field W_ID and store in the variable G_LAST_RUN..

GO to SE16 give the table name INDX

In the field SRTFD enter the value in the field W_ID..

If you press execute you will find an entry...

Thanks,

Naren

Read only

suresh_datti
Active Contributor
0 Likes
409

You are importing the value stored in the variable g_last_run from the Database Cluster CS with the id in w_id into your Program at runtime. This value would have gotten gets into the database cluster with an earlier EXPORT to DATABASE statement either in the sam eor a different program. The EXP/IMP statements are very useful in comparing runtime values.

~Suresh