SAS Office Analytics, SAS Add-In for Microsoft Office, and other integrations

Assigning parameter values.

Reply
N/A
Posts: 0

Assigning parameter values.

I have hundred thousands of records in my data table with data from 1990 an onwards.

After each year I want to run my code and get detailed statistics for that year, and some summary statistics for the 2 years before that year. I have code that produces these statistics. In that code I assign the year value to a variable in a data step.

But I would like to pass the year value when the program starts running. I don't want to be forced to change code text each new year.

In any "ordinary" programming language that would be easy.

How can that be made with SAS code?

/Anne
N/A
Posts: 0

Re: Assigning parameter values.

Sorry, I put the message in the wrong category.

/Anne
Post a Question
Discussion Stats
  • 1 reply
  • 126 views
  • 0 likes
  • 1 in conversation