Hello, I have been trying to modify my code so that I can get a row with all of the same information on each date between two dates. I have tried to research this myself, but I keep getting the error: ERROR: Invalid DO loop control information, either the INITIAL or TO expression is missing or the BY expression is missing, zero, or invalid. My code currently is: data have; set want; do offset=0 to intck('day', firstday, finalday); date= intnx('day',firstday,offset); output; end; format date date9.; drop firstday finalday; run; Thank you for your help!
... View more