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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

call subroutine within a subroutine

Hi all,

I have a subroutine which attempts to call another subroutine within it.

I have placed both subroutines in an $(Include=$(gc_ScriptDir) at the start of a load in an .qvw

and have ensured that the target subroutine being called precedes the one doing the 'calling'

E.g,

sub xyz (paramA, paramB)

trace blah blah;

end sub;

sub abc (param1, param2)

call xyz (paramA, paramB);

end sub;

Unfortunately in the debugger when I 'step' into subroutine abc, the debugger freezes and a 'script finished' message is displayed in the console.

Is this because it isn't possible to call a subroutine within another subroutine or am I missing something.

Thanks for your help.

Dave.

0 Replies