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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

mapping load using proceeding load

I am updating 5 columns by CMS using proceeding load. But get a general script error at the last step, according to the log file. Can anyone help to see anything wrong with the script?

Mgr:

Mapping

LOAD CMS,

     fvc_rep_mgr2

FROM...

Rep:

Mapping

LOAD CMS,

     fvc_rep2

FROM...

Practice:

mapping

LOAD CMS,

     fkc_practice_name2

FROM...

Physician:

mapping

LOAD CMS,

     fkc_attending_name2

FROM...

Facility:

mapping

LOAD CMS,

     fkc_facility_name2

FROM ...

CombinedDataNSM:

LOAD*, applymap('Rep', fvc_rep_mgr, fvc_rep_mgr) as  fvc_rep_mgr2;

LOAD*, applymap('Rep', fvc_rep, fvc_rep) as  fvc_rep2;

LOAD*, applymap('Practice',fkc_practice_name,fkc_practice_name) as fkc_practice_name2;

LOAD*, applymap('Physician',fkc_attending_name,fkc_attending_name) as fkc_attending_name2;

LOAD *,applyMap('Facility', fkc_facility_name,  fkc_facility_name) as  fkc_facility_name2

  

FROM ...

Store CombinedDataNSM into ...

1 Solution

Accepted Solutions
maxgro
MVP
MVP

Try to comment the store

Sometimes the "general script error" happens in a qvd store

Also

it seems you don't need 4 or five preceding load

you can

LOAD

     *,

     appymap(..........),

     appymap(..........),

     appymap(..........),

     appymap(..........),

     appymap(..........),

from

     ............l

View solution in original post

3 Replies
maxgro
MVP
MVP

Try to comment the store

Sometimes the "general script error" happens in a qvd store

Also

it seems you don't need 4 or five preceding load

you can

LOAD

     *,

     appymap(..........),

     appymap(..........),

     appymap(..........),

     appymap(..........),

     appymap(..........),

from

     ............l

Anonymous
Not applicable
Author

It works. But I do need store the file to export to another application. Any suggestions?

maxgro
MVP
MVP

maybe a previous crash of qlikview

close qlikview

try to delete the qvd

reload with the store