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 wOOdy-Soft 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: aybooth
  • Content: Threads
  • Order by date
  1. aybooth

    How can I import an unknown number of .txt files into SAS?

    I am trying to import an unknown number of text files into SAS. I have found some codes but none seem to work... filename indata pipe 'dir d:\requests\miller\testfiles /b'; data file_list; length fname $20; infile indata truncover; /* infile statement for file names */ input fname $20.; /*...
  2. aybooth

    Trailing Blanks

    How can I create a variable that will always 56 bytes long regardless of how many characters are in the original text string? I need to add trailing blanks so that the variable is always 56 bytes long. I can format and ensure the length is 56 but when I perform the length function on the...
  3. aybooth

    export to multiple excel tabs

    How can I export from one sas data set to multiple excel tabs on one spreadsheet. I want to segment the dataset using a variable I have created which denotes which department the records belong to. Thanks Anthony
  4. aybooth

    segmenting datasets into deciles

    am i able to segment a dataset of x records into deciles by using the _n_ function? (the dataset is already sorted by the required variable so no further sorting can be done) so that SAS calculates what the last record number is and then divides by 10 and uses that number to create a variable...
  5. aybooth

    counting characters

    I need to know how to count the number of specified charecters within a string of text. i.e. how many B's appear within "BBB12BBB" = 6. Thanks
  6. aybooth

    transferring to other applications

    Is it possible to transfer data from excel to other applications using a macro? how can you get the macro to open the other applications and then paste the data in a specific area, i.e. an account number. thanks

Part and Inventory Search

Back
Top