Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load script is getting stuck after loading all table rows

Hi All,

I'm having a problem in load script. While loading everything is going fine. All the lines are getting fetched. But its getting stuck after that so I have to kill the process and then start again.

Can anybody please tell me why is it getting stuck ?

Thanks in advance!!!

1 Solution

Accepted Solutions
Jason_Michaelides
Partner - Master II
Partner - Master II

That is because two tables with the same column names are automatically CONCATENATED (i.e. stacked on top of each other). By changing one of the column names you are causing them to be separate tables and therefore a large synthetic key is being generated at the end of the load script which is killing the machine.

When you load the second table, precede the LOAD statement with CONCATENATE (<1st table name>).

This will force the concatenation and you will have a single table with all columns aligned except the one you changed the name of.

Hope this helps,

Jason

View solution in original post

18 Replies
Not applicable
Author

Any info in log?

ThornOfCrowns
Specialist II
Specialist II

Do you get any errors or messages?

How much data?

How much memory on the machine?

How long does the process hang for?
Is there a lot of script in the LOAD that happens after you pull data?

What happens if you load with a smaller data set?

etc., etc.

its_anandrjs
Champion III
Champion III

Check the application log file for more details like how much table loaded and fields and loaded. Also you can use error modes available for the load script like

set ErrorMode=0; //Check help for more details for error modes

Load * from location;

Following are the error Modes

0No error
1General error
2Syntax error
3General ODBC error
4General OLE DB error
5General custom database error
6General XML error
7General HTML error
8File not found
9Database not found
10Table not found
11Field not found
12File has wrong format
13BIFF error
14BIFF error encrypted
15BIFF error unsupported version
16Semantic error
Not applicable
Author

Hi Anand,

I'm new to qlikview. Could you please tell me how to check application log for errors?

amit_saini
Master III
Master III

Kavita,

Please check log file and share the error which you are getting.

Thanks,
AS

Not applicable
Author

Hi All,

I'm having 2 tables both are having same number of columns with same name. I have added an additional column named flag to differentiate both the table data.

Script works fine when both the table column names are kept as it is. But i wanted date column name to be changed. So I changed it and then the script started getting stuck.

Not applicable
Author

Hi Amit,

Where do I find the log file?

eduardo_sommer
Partner - Specialist
Partner - Specialist

Maybe it is creating synthetic keys for a large number of record. Do you have many common fields between the tables?

Eduardo

Not applicable
Author

Yes there are 10+ columns. But it works fine when all the column names are kept same. Problem comes only when I change one of those column name.