warning 4638 and 4624

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

mudskipper
Posts: 1
Joined: Sun Dec 17, 2017 2:45 pm

warning 4638 and 4624

Postby mudskipper » Sun Dec 17, 2017 3:00 pm

Hi there :-)
I have quite large spss file with many string variables that i'm re-coding them to numeric variables. for some of the variables i'm getting this warning messages:

Warning # 4638 in column 1. Text: (
String variables being recoded differ in length. The recode may be
inappropriate for some of the variables.

Warning # 4624 in column 12. Text: )
The preceding RECODE specifies a value to be recoded that is longer than some
variable(s) in the recode. The shorter values will be padded with blanks for
the comparison.


here is part of my syntax (in realaity i have much more variables that i'm re-coding)


RECODE
peppero
carroto
cucumbero
tomatoo
oniono
('כלל לא'=0) ('פחות מפעם בחודש'=0) ('1-3 בחודש'=0.066666667) ('1-2 בשבוע'=0.214285714) ('3-4 בשבוע'=0.5) ('5-7 בשבוע'=0.857142857) ('2-4 ביום'=3) ('5-7 ביום'=6)
('a'=0) ('b'=0) ('c'=0.066666667) ('d'=0.214285714) ('e'=0.5) ('f'=1) ('g'=3) ('h'=6)
INTO
pepper_o_freq
carrot_o_freq
cucumber_o_freq
tomato_o_freq
onion_o_freq.
EXECUTE.


Any ideas what can cause this warnings? should i ignore them?

Who is online

Users browsing this forum: No registered users and 2 guests

cron