condtional match - continuation from match two files (one to many options)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

condtional match - continuation from match two files (one to many options)

leonleo
Hi,
If I want to add a condition for this match files (to ensure the mothers ID are same in the example above) I understand I have to use a IF command. I am planning the following,

Match files
/file "kids file"
/table "dads file"
/by HID.
IF (mother = mother)
Execute

but end up with errors. Is the IF syntax is wrong?
Reply | Threaded
Open this post in threaded view
|

Re: condtional match - continuation from match two files (one to many options)

Bruce Weaver
Administrator
It appears you want to match /BY HID mother.  But it would help if you provided small examples of the files you are trying to merge.


leonleo wrote
Hi,
If I want to add a condition for this match files (to ensure the mothers ID are same in the example above) I understand I have to use a IF command. I am planning the following,

Match files
/file "kids file"
/table "dads file"
/by HID.
IF (mother = mother)
Execute

but end up with errors. Is the IF syntax is wrong?
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: condtional match - continuation from match two files (one to many options)

David Marso
Administrator

ALWAYS!!!!
Post sample of before and after data sets!!!
Post EXACT error messages!!!
Otherwise??? No more ESPss!!!

Bruce Weaver wrote
It appears you want to match /BY HID mother.  But it would help if you provided small examples of the files you are trying to merge.


leonleo wrote
Hi,
If I want to add a condition for this match files (to ensure the mothers ID are same in the example above) I understand I have to use a IF command. I am planning the following,

Match files
/file "kids file"
/table "dads file"
/by HID.
IF (mother = mother)
Execute

but end up with errors. Is the IF syntax is wrong?
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"