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 TouchToneTommy 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: imarosel
  • Content: Threads
  • Order by date
  1. imarosel

    running SAS program from another SAS program

    I'm having a little trouble googling around trying to figure out how to create on master SAS program that runs other SAS programs. The best I can find is the following:http://help.pop.psu.edu/help-by-software-package/sas/sas-tips/donald-miller-faq/ What is the best way to do this? I'm looking...
  2. imarosel

    how do you stop preview mode

    I have SAS 9.1.3, when I browse to a program and double click to open it, it opens in preview mode. Is there a way I can stop this? I'm not sure if it matters but enterprise guide is installed on my machine, I don't use it but I have it installed. Thanks, Austin
  3. imarosel

    data step calling a macro that runs sql into macro variable

    One that has me chasing my tail. This is a building block to a more complicated program I'm writing and something I found myself wishing I could do on more than one occasion. I want the data step to pass in a variable value into a macro that runs a query on another dataset, retrieves a value...
  4. imarosel

    specify dataset variable comes from

    If I have two datasets with the same variable names and I want to compare a variable in dataset one to a variable in dataset two is there a way to specify which dataset I'm looking at? The only solution I can think of is changing all the variable names from one set to something else. Something...
  5. imarosel

    problem with sas dates and proc sql

    Ok, I thought I had the sas date thing licked. I'm importing dates from CSVs into SAS datasets using the input function. So now I have number of seconds from 1960 or whatever. I thought doing comparisons on dates after this would be a breeze but it is not. I thought I would start by...
  6. imarosel

    making a dataset from a dataset

    Writing my first program here. I have a csv file that I'm importing into SAS and then doing subsequent calculations to etc. Thanks to klaz2002 I know how to convert a char date to a SAS date. Now that I have my dataset made I am adding columns to it etc. I figure the best way to do this is...
  7. imarosel

    importing timestamp from csv

    I have a csv with date and time combined in the following format mm/dd/yyyy hh:mm:ss. I want to import this file into SAS and get it into a format SAS can recognize so I can do some manipulation based on date. My the closest I can get is this: informat timecolumn DATETIME; or this informat...
  8. imarosel

    Excel VB autofill problem

    The following code only works when I activate and select the workbook and sheet it applies to. Workbooks(sWorkbookToSort).Sheets(sSheetToSort).Range("B2:C2").AutoFill Destination:=Range(Cells(2, 2), Cells(iMaxRow, 3)), Type:=xlFillDefault How could I get around that?
  9. imarosel

    violating any best practices etc?

    previously posted in the wrong forum. Sub BackupByDate() Dim dname As String, strTest As String dname = ThisWorkbook.Path & "\B" & Format(Now(), "yyyy_mmdd") strTest = Dir(dname, vbDirectory) If (strTest = "") Then MkDir (dname) ActiveWorkbook.SaveCopyAs dname & "\BK_" &...
  10. imarosel

    violating any best practices etc.?

    Sub BackupByDate() Dim dname As String, strTest As String dname = ThisWorkbook.Path & "\B" & Format(Now(), "yyyy_mmdd") strTest = Dir(dname, vbDirectory) If (strTest = "") Then MkDir (dname) ActiveWorkbook.SaveCopyAs dname & "\BK_" & Format(Now(),"hh") & "." &...
  11. imarosel

    going to Class Modules missing something big here

    Hello, I'm trying to move to class modules and start doing more OO programing. I'm missing something big here on my first try. I thought I would make a simple class called list with a method that looked for a some data in a spreadsheet and who's attributes included the first and last row of...
  12. imarosel

    adding time when i don't care about date

    Dim offerTime As Date Dim i As Integer Dim temp As String offerTime = #12:00:00 AM# temp = "" For i = 1 To 24 temp = temp & DateAdd("h", i, offerTime) & " ," Next i Debug.Print temp output 1:00:00 AM ,2:00:00 AM ,3:00:00 AM ,4:00:00 AM ,5:00:00 AM ,6:00:00 AM ,7:00:00 AM ,8:00:00 AM...
  13. imarosel

    function return recordset?

    Function returnRawCurveSet Set rawCurveSet = New ADODB.Recordset rawCurveSet.Open rawCurveSQL, CurrentProject.Connection, adOpenKeyset returnRawCurveSet = rawCurveSet end function subroutine Dim rawCurveSet2 As ADODB.Recordset rawCurveSet2 =...
  14. imarosel

    programatically delcare variables

    Maybe getting too carried away here but can I programatically declare variables that are fields in a recordset? The following code does not work. For k = 0 To minSet.Fields.Count - 1 dim minSet.Fields(k).name Next k
  15. imarosel

    function = array

    Can't figure out how to call a function that returns an array in the VB within access. Is this possible?
  16. imarosel

    first try at php and mail()

    Never coded in php until today. The following code: <?php $to = "recipient@example.com"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body)) { echo("<p>Message successfully sent!</p>"); } else { echo("<p>Message delivery failed...</p>"); } ?> produces the...
  17. imarosel

    newbie resources

    I'm moving from asp to php. I have a for profit project that I am going to use as a learning project. What are your top recommended sources for a newbie like me. Syntax etc. is usually pretty easy for me to pick up. What I really am looking for is a good site that has good...
  18. imarosel

    host for asp site with automatic email

    I'm researching hosting for an ASP site for a page a small business wants me to put together. I've never actually had to worry about the hosting etc., and the company I did do ASP work for would never have allowed me to set up something that automatically sent emails out due to security...
  19. imarosel

    newbie questions on setting up ASP site

    I have about 8 months or so worth of experience enhancing a database driven ASP website using vbscript. I inherieted a running site that lives on a company server. I have been approached by a small business to stand up a small database driven website for them. I would love to take on this...
  20. imarosel

    Programtically create text boxes

    I have another one of my crazy innovative ideas that has probably been done a million times in a million better ways, but I can't find on the net or in my o'reilly books. I have a lot of forms. A loooot of forms. Each form has one subform. The main body of the form is the same, the subform...

Part and Inventory Search

Back
Top