Similarly you can also get the mergevar with the following commands below:
cd "D:\bernard\epidemio" dir read fille merge fiche /file=pere/table /update/updateall
Good luck Tieble
On 5 April 2010 18:00, epidata-list-request@lists.umanitoba.ca wrote:
Send EpiData-list mailing list submissions to epidata-list@lists.umanitoba.ca
To subscribe or unsubscribe via the World Wide Web, visit http://lists.umanitoba.ca/mailman/listinfo/epidata-list or, via email, send a message with subject or body 'help' to epidata-list-request@lists.umanitoba.ca
You can reach the person managing the list at epidata-list-owner@lists.umanitoba.ca
When replying, please edit your Subject line so it is more specific than "Re: Contents of EpiData-list digest..."
EpiData-list mailing list ___________________________________
Today's Topics:
- Re: Re: [EpiData-list] Related files (epidata-list@lists.umanitoba.ca)
Message: 1 Date: Sun, 04 Apr 2010 22:09:11 +0200 From: epidata-list@lists.umanitoba.ca Subject: Re: Re: [EpiData-list] Related files To: epidata-list@lists.umanitoba.ca Message-ID: 4BB8F1E7.9040603@tbrieder.org Content-Type: text/plain; charset=UTF-8; format=flowed
An alternative is reading in the child file first, if the child file has multiple entries for the same parent file:
read "d:\bernard\epidemio\fille.rec" merge fiche /file=pere.rec" /table
This uses the "pere" file as a look-up table (see Help file in analysis) and "fiche" needs to be unique only in the parent but not the child file,
Hans
On 20:59, epidata-list@lists.umanitoba.ca wrote:
The correct way to read these files into analysis is:
read "d:\bernard\epidemio\fille.rec" merge fiche /file=ere.rec"
merge requires key unique in the file it reads.
Jamie Hockin Ottawa
EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
End of EpiData-list Digest, Vol 78, Issue 4
participants (1)
-
epidata-list@lists.umanitoba.ca