Page 1 of 1

skip in batch mode

Posted: April 23rd, 2020, 6:23 pm
by AriSilva
I think I already asked for that but...
I have a very lengthy questionnaire, and only some specific persons that agreed to answer the whole questionnaire will be processed in the automatic edit and imputation. The other persons will be edited only for the very first few variables.
So, if the variable agreed <> 1 I want to skip all the questions and jump to the next person.
I cannot use the skip to variable, it does not work. Somebody said that the system was not meant for that.
Maybe if you had a "endrecord" as you have an endcase instruction it might be used to skip all the unnecessary checkings.
Now my only solution if, at the very beginning of every proc I need an instruction that says

proc xxxxx
if agreed <> 1 then exit; endif;

And I have to write that for more than 1000 times (1051 procs that I have in the program).
Is there any other way?

Re: skip in batch mode

Posted: April 23rd, 2020, 9:46 pm
by josh
Yes, you posted about that a few months ago right here viewtopic.php?f=6&t=3676&p=11987&hilit= ... tch#p11987

Your request is noted.