Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bumed
  • Content: Threads
  • Order by date
  1. bumed

    Macro do loop help

    Ok I have set a Macro Dpull and It works fine. Now I'm setting up a macro Drun. Drum is supposed to take a list of file names from a txt document and then use that list in place of fname in the Dpull macro. But I cant seem to get it to work. Hopefully you can help thank you all. Here is the...
  2. bumed

    Creating macro names from folder files names

    Hi all, I'm kind of new to using macros, mostly us SAS for data analysis. I have setup a macro to do what I want but the problem is that it must be run on about 600 small files in a folder. There has got to be a better way then invoking a macro for each of the files by hand. Is there a way to...
  3. bumed

    Rename variables

    May problem is that I need to change the variable names in an excel sheet so that all the names have _W1 on them. I found a macro that can do this put I'm unsure of how to use it. I used proc contents to pull the names and symput to make then into a macro variable but I cant seem to get it to...
  4. bumed

    proc means label types within a variable

    Here is my question can you label types within a variable in the by statement. (code) has 6 types (artr, antr, altr, altl, artl, antl) how can I label the mean and std for those types. I know how it can be done for variables. But I can't figure it out for types within a variable. Except for...
  5. bumed

    do loop prob

    Hi, Here is my code: data arrow4; set arrow3 (keep = RTc1 outlier accuracy code); length lastcode $4; retain lastCode; if (RTc1^=.) and lastcode = 'altl' then do; Do i = 1 to *; Ttype = "AVl(i)"; end; lastCode = Code; run; I'm trying to have Ttype = AVl1, AVl2, so no when the if statement is...
  6. bumed

    compare observations from the same variable in SAS

    I have a data set in SAS and would like to compare variables from the same column. Obs Subject Type Code Time 1 1001.01 Picture al 1409567 2 1001.01 Picture altl...

Part and Inventory Search

Back
Top