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 Chriss Miller 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: roland9
  • Content: Threads
  • Order by date
  1. roland9

    Else if statement

    Hi, I was wondering as to how the solution to this problem is (B).Howcome Burt who has a level of 4 is assigned Medium.. Obs name level 1 Frank 1 2 Joan 2 3 Sui 2 4 Jose 3 5 Burt 4 6 Kelly . 7 Juan 1 The following SAS program is submitted: data work.expertise; set work.levels; if level = ...
  2. roland9

    If then statement

    Hi, If you want the following output .. capacity airplanetype staff 150 Large 10 then whats wrong with this code... data work.test; capacity = 150; if 100 le capacity le 200 then airplanetype = 'Large' and staff = 10; else airplanetype = 'Small' and staff = 5; run; Thanks
  3. roland9

    If then and do loop

    Can someone please tell me for the following output capacity airplanetype staff 150 Large 10 why the first code works and the second doesnt... CODE_1 data work.test; capacity = 150; if 100 le capacity le 200 then do; airplanetype = 'Large'; staff = 10; end; else do; airplanetype...
  4. roland9

    Output statement and Do loop

    Data: Each record contains a varying number of values for Activity. First Five Records Raw Data File Excdata3 1---+----10---+----20---+----30---+----40 1051 TENNIS SWIMMING AEROBICS 1052 JOGGING BASKETBALL 1053 AEROBICS SWIMMING CYCLING 1054 GOLF JOGGING TENNIS 1055 WALKING AEROBICS...
  5. roland9

    single and double trailing

    Hey guys, I am trying to understand the difference between @ and @@. For the data below both works.So whats the diff and why do we need another @ (input sales :comma.)to read the data below...(Is there a simple way to solve problems with single and double trailing) DATA 0734 1,323.34...
  6. roland9

    Inputing SAS Data

    Hi, I am a beginner in sas .Can someone tell me how to input this raw data file into sas .The fields are ID,Name, City, State, Sex and Code 1333,BLAIR,JUSTIN,STAMFORD,CT,M,PT2, 1428,BRADY,CHRISTINE,STAMFORD,CT,F,PT1, 1439,HARRISON,FELICIA,BRIDGEPORT,CT,F,PT1...

Part and Inventory Search

Back
Top