Hi, I am trying to add new observations in my data set in an existing variable, but it does not seem to work. I have a variable called ID (identification number) and a variable called periodID (1-5), so I can add different periods per ID. Some ID's only have 1 periodID line where I would like to have 2 or 3, but I can't seem to add more lines (called periodID 2 and periodID 3). I am working from a pre-existing work.query. So I tried to make a new data set: DATA newperiod; SET oldperiod; IF ID=200 THEN periodID=1, 2, 3; RUN; This gives me an error. Does somebody know how to fix this problem?
... View more