skip in batch mode

What would you like to see in CSPro?
Post Reply
Posts: 352
Joined: July 22nd, 2016, 3:55 pm

skip in batch mode

Post by AriSilva » April 23rd, 2020, 6:23 pm

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?

Posts: 2140
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: skip in batch mode

Post by josh » April 23rd, 2020, 9:46 pm

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.

Post Reply