4. in=0 and in = Y -->Right outer merge. Only the observations in ds3 are merged.
5. in = X and in=0 --> Left outer merge. Only the observations on d2 are merged.
Question : Which of the following will occur when an EC2 instance in a VPC (Virtual Private Cloud) with an associated Elastic IP is stopped and started?
The following SAS program is submitted: data numrecords; infile 'file-specification'; input @1 patient $15. relative $ 16-26 @; if relative = 'children' then input @54 diagnosis $15. @; else if relative = 'parents' then input @28 doctor $15. clinic $ 44-53 @54 diagnosis $15. @; input age; run; How many raw data records are read during each iteration of the DATA step during execution?
Explanation: As each input statement other than last (input age) ends with @, SAS will not advance to next raw data record. Only after age is read, SAS will finish the datastep iteration and read next record.
For example in case below, in there are two data step iteration and during each iteration it read one raw data record from raw data (datalines). So answer is A.
data a; input age @; if age > 80 then input bp @; input gluco; datalines; 81 220 110 50 125 ; run;