SSIS log file created twice, would someone please try this

I started off trying to explain the behavior, but it got too long and wasn't sure if people would follow it. So rather then trying to explain it, I would like to ask someone to try the following to see if they can dumplicate this odd behavior I am seeing on my side.
Please follow these steps, and let me know what you get.
(1) Take any simple working package, and create an SSIS log.
(2) Use the following for the expression to set the connection string for the log file's connection manager. For simplicity, let's say the file goes in a folder called "C:\SSIS_log\". For you it could be somewhere else.
Expression:
"C:\\SSIS_log\\"
+ "logfile_"
+ (DT_STR,4,1252)DATEPART( "yyyy" , @[System::StartTime]   )
+ RIGHT("0" + (DT_STR,4,1252)DATEPART( "mm" ,  @[System::StartTime]  ), 2)
+ RIGHT("0" + (DT_STR,4,1252)DATEPART( "dd" , @[System::StartTime]   ), 2)
+ RIGHT("0" + (DT_STR,4,1252)DATEPART( "hh" , @[System::StartTime]   ), 2)
+ RIGHT("0" + (DT_STR,4,1252)DATEPART( "mi" ,  @[System::StartTime]  ), 2)
+ RIGHT("0" + (DT_STR,4,1252)DATEPART( "ss" , @[System::StartTime]   ), 2)
+ ".txt"
When you evaluate this expression, you should see that it appends a time stamp that goes down to the minute and second of the package start time.
(3) Delete any existing files in the log directory.
(4) Run the package.
Make the following observations.
(A) How many log files do you get?
(B) And what do you see in the log file(s)?
(C) What time stamp do you have in name of the log file(s)?

Jia Li said:
Okay, my take is this: when you execute package in BIDS, BIDS first validate the package and then a new package object is instantiated and executed. The package object used for validation is the same as long as the package is not reopened, so the first log file has the same name. Because the execution phase load package from xml again, it is using a new pakcage object, so expression get re-evaluated and the second log file gets renamed every time.
Duane Douglas said:
Jia Li said:
The @StartTime of the first file is evaluated when you open the package in BIDS. So if you close the package, re-open it and execute, you will get two files again.
i just remembered that someone else here experienced a similar issue with the starttime variable.  i understand why it needs an intial value when a package is created or opened.  but i don't understand why this value isn't replaced at run-time?  can you please shed some light on this?
thanks
Duane Douglas, MCAD | http://www.ssisbi.com | Please mark the post(s) that answered your question.
ok.  but if i'm not mistaken,  the execution phase doesn't change the value of @starttime to reflect the current system time.  after validation, the execution phase should change the value of @starttime to the current system time.  no?Duane Douglas, MCAD | http://www.ssisbi.com | Please mark the post(s) that answered your question.

Similar Messages

  • Can someone please try this and see if this works for them...

    Hi there
    I cannot get the following to work but according to the mainstage manual this should work. Could someone please try this and see if this works:
    a. Create a new concert based on any template. Delete all patches except one (lets call this remaining patch X).
    b. Add a Bass instrument channel strip at the Concert level (by selecting the Concert in the patch list and then hitting the '+' button on the right within the Channel strips and selecting Software Instrument).
    c. Set the Concert level Bass instrument channel strip to play only on the first 2 octaves or so, by setting the Key Range parameters appropriately.
    d. Click on the remaining patch X. You should see that it automatically has your bass instrument as a split on the left hand octaves on the Mainstage keyboard displayed. So everything good so far.
    d. Now save the concert with any name.
    e. Close the concert.
    f. Re-open the same concert again. Click on the patch X. At this point I would expect the Bass instrument to be showing on the lower octaves. This does not happen for me.
    I've spent a couple of days trying to see if I'm doing something wrong, but cannot figure this out. Please please someone let me know the outcome of trying the above. And if I'm doing something wrong to get this to work, kindly let me know.
    thanks
    Ziggy

    Thank you all for your suggestions and taking the time to try this out. I think I've sussed out what the problem is.
    If you create them like Thor mentions that always seems to work. Thor, I don't understand what you mean by hitting the "+" in the channel strip area. Doing this creates an additional channel strip and not a new patch.
    What I was trying to do before was to include all patches in a set as well. So I have my Concert, then a Set, then patches within my Set. If I added a Bass at the concert level, it looks like this was then propagated to all my patches in my set. But when I closed Mainstage and re-opened, the bass wasn't there at the Set or patch level.
    I really think there is a bug with Mainstage, where if you have Sets and patches within sets, any instruments at Concert level do not get inherited by the Set, patches in the set. I've tried this a few times and tried without using Sets. It always seems to work without Sets.
    So the lesson is not to use Sets, if you want to share concert level intruments.
    Once again, thank you guys for trying this out.
    Ziggy

  • Can someone please try this:

    Can somebody else tell me if their NEW model 17" does this?
    Just got the new 17". When I put the computer to sleep, not only does the blue sleep light flash on the front latch, but the right side of the screen flashes a dim white as well (at a constant rate, but different pace than the latch light).
    Is this a new "feature" or is something defective here?
    I also noticed that the Apple logo on the back flashes during sleep (most noticeable when the lid is closed). Maybe this IS an inteded feature after all. Sure is annoying though...
    Sorry for the double post.

    Hi, krypttic - I can't believe that what you're describing could possibly be a feature of the new PBs. Your display, and every other Mac display, should be black when the machine is in sleep.
    The logo on the lid (as you must have discovered, having owned two of these machines) glows as a function of the display backlighting. (This is true of iBooks, as well.) It is not intended to throb when the machine is asleep, and surely not when the lid is closed. This suggests that the logo's throbbing while the machine is asleep is a function of the right side of the screen flashing.
    To rule out this being a software issue, do two things:
    - I believe that booting from your Install & Restore disc will allow you to put the machine to sleep from the Apple menu. Try that and see if your screen exhibits the same behavior.
    - Create a new user account with admin priveleges, log in to that account, put the machine to sleep, and see if the display exhibits this behavior.
    Let us know what you turn up.
    Tuttle

  • Would Someone Please Post the Official Vista CD ON File Fr

    Would someone please post this on filefront so I can get it Please Thanks Regards WesMessage Edited by mickey3390 on 06-8-200703:8 PM

    :smileyvery-happy:Thanks again to you and all involved. Have you installed it yet and if so what were your results? I'll post my results tomorrow. Thanks again!!!!:smileyvery-happy:Message Edited by mickey3390 on 06-8-200704:3 PM

  • Can someone please test this widget?

    Hi,
    (sorry if this is in the wrong forum but I couldn't find a better place)
    Can someone please try this widget?
    http://www.apple.com/downloads/dashboard/information/speciesdistributionmap.html
    The map shows on 2 out of 3 of the macs in the office but we can't determine why it doesn't work on the third... If you can see the map, then it works. We can't spot any difference in the settings on the machines
    Many many thanks!
    Tim

    I have the i7-720 and the processor and I can attest to the W510 overheating. I recently had my planar replaced under warranty and it returned with an overheating issue for heavy processor loads.  This overheating was resolved by properly applying thermal paste (lenovo applied about 3x as much as was needed)  while the GPU continues to overheat and cause stuttering. If I run furmark in any resolution for a length of time at maximum fan speed and watch the GPU overheat, throttle, and overheat again. This would all be fine if it didn't cause the whole system to lag terribly in games or on the desktop.
    In my view the design of the GPU cooler and thermal pads for the GPU memory cooling are very sensitive to installation. The cooler is easy to bend and the pressure clamp for the GPU isn't really designed to a certain tolerance. It's simply a clamp with a bent part that will apply some random amount of pressure to the gpu cooler.
    It's just such a delicate system of cooling that there is too much room for error. It has to be installed correctly in order to function properly and I don't think there is really a good way of making sure that you've done it without running benchmarks for hours after reinstalling the cooler. I don't think this is something Lenovo is going to do. There aren't any options from Lenovo for a better heat sink design and I am pretty sure not everyone is having these issues.
    So I'm going to mess with the GPU cooler until it starts working. Here's a furmark screenshot showing the temps.
    Link to picture
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

  • I have installed mountain lion on my macbook pro ,but it made my mac very slow. Would someone please tell me how  to uninstall this one and reinstall snow leopard?

    Hello,
    I have installed mountain lion on my macbook pro ,but it made my mac very slow. Would someone please tell me how  to uninstall this one and reinstall snow leopard? I tried to do it by my original CDs but macbook  pro didn't let me to do it.
    Thanks

    It would be easier to just fix whatever is making your machine slow.
    I wrote a little diagnostic program to help show what might be causing these problems. Download EtreCheck from http://www.etresoft.com/download/EtreCheck.zip, run it, and paste the results here.
    Disclaimer: Although EtreCheck is free, there are other links on my site that could give me some form of compensation, financial or otherwise.

  • Need to locate the Finder's cog wheel (action menu).  It's not there! Would someone please help me?  Trying to uninstall MacKeeper.  Thanks.

    Need to find the Finder's cog wheel (action menu).  It's not there!   Would someone please help me?  Trying to uninstall MacKeeper.  Thanks.

    anne296 wrote:
    Need to find the Finder's cog wheel (action menu).  It's not there!   Would someone please help me?  Trying to uninstall MacKeeper.  Thanks.
    The action menu can be restored by, in the Finder, selecting under View menu "Customize Toolbar ...". There you will see options to put the action menu (wheel) back on your toolbar.

  • Would someone please inform me why even though I ordered my iPhone 5 on the 14th of September, where the confirmation told me that I would receive it on the 28th of September, my "Order Status" now informs me that it will not ship until October 19th?

    Would someone please inform me why even though I ordered my iPhone 5 on the 14th of September, where the confirmation told me that I would receive it on the 28th of September, my "Order Status" now informs me that it will not ship until October 19th?

        Hello Leisabee!
    I am so excited for you to get your iPhone 5. I know how eager we all are to have this phone!  I know you mentioned you ordered on 9/14, did you receive a confirmation letter by chance?
    You can also check your order status here: http://bit.ly/rqEisu
    That is really just right around the corner and time will fly by! I promise.  If you have any other questions, just let us know!
    Thanks,
    MelissaM_VZW
    Follow us on Twitter @vzwsupport

  • Some apps on my macbook pro will not open,,,they bouce a few times and disappear.  would someone please give me a straightforward answer on why this might be haappening(started after updates))   please?

    some apps on my macbook pro will not open,,,they bouce a few times and disappear.  would someone please give me a straightforward answer on why this might be haappening(started after updates))   please?

    Yay! Solved my own question; just did a hard shutdown, worked like a charm! Funny, didn't before. But who am I to question salvation?

  • Will someone please answer this, major iPhone 3GS problem.

    SOMEONE ANSWER ME!!!!!!
    I am almost about to give up hope with this. I have posted FOUR questions with no answers, so someone please answer this one.
    My iPhone 3GS has never  been jailbroken. A couple of months ago now, the bottom half of my iPhone screen became unresponsive so I thought I would try to restore it to see if it would make it alright again. Worst mistake of my life. It is now stuck in recovery mode and will not come out, for anything. I have had various different error messages, i've tried everything. All the software programs, holding home and power and whatever else. Nothing. When trying to restore it, it will come to the last part of the bar and fail. Every single time. I really could do with some help on this one. Please.

    Take a look at this link, http://support.apple.com/kb/HT1414  It's look like your iPhone needs to be repaired, the digitizer is damaged and it could be causing the problem of not letting your iPhone completely restore.  Take your iPhone to your nearest Apple store. 

  • Can someone please try to register the following W3C Schema? It FAILS!

    Greetings,
    Can someone please try to register the following W3C Schema? It is failing on all attempts by me and I feel there is a possible problem with the parser.
    http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
    I used the following...
    BEGIN
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    schemaurl=>'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
    schemadoc=>sys.UriFactory.getUri('http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd'),
    local=>FALSE,
    gentypes=>TRUE,
    genbean=>FALSE,
    gentables=>TRUE,
    force=>TRUE,
    owner=>'XDB');
    END;
    /

    After commenting out the refernece to the DTD the schema registers fine for me...
    <?xml version="1.0" encoding="utf-8"?>
    <!-- <!DOCTYPE schema
    PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
    <!ATTLIST schema
    xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
    <!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
    <!ENTITY % p ''>
    <!ENTITY % s ''>
    ]>
    -->
    <!-- Schema for XML Signatures
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 19 10:57:53 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> spool registerSchema_&4..log
    SQL> set trimspool on
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> declare
    2 result boolean;
    3 begin
    4 result := dbms_xdb.createResource('/home/&1/xsd/&4',
    5 bfilename(USER,'&4'),nls_charset_id('AL32UTF8'));
    6 end;
    7 /
    old 4: result := dbms_xdb.createResource('/home/&1/xsd/&4',
    new 4: result := dbms_xdb.createResource('/home/XDBTEST/xsd/xmldsig-core-schema.xsd',
    old 5: bfilename(USER,'&4'),nls_charset_id('AL32UTF8'));
    new 5: bfilename(USER,'xmldsig-core-schema.xsd'),nls_charset
    ('AL32UTF8'));
    PL/SQL procedure successfully completed.
    SQL> commit
    2 /
    Commit complete.
    SQL> alter session set events='31098 trace name context forever'
    2 /
    Session altered.
    SQL> begin
    2 dbms_xmlschema.registerSchema
    3 (
    4 schemaURL => '&3',
    5 schemaDoc => xdbURIType('/home/&1/xsd/&4').getClob(),
    6 local => TRUE,
    7 genTypes => TRUE,
    8 genBean => FALSE,
    9 genTables => &5
    10 );
    11 end;
    12 /
    old 4: schemaURL => '&3',
    new 4: schemaURL => 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
    old 5: schemaDoc => xdbURIType('/home/&1/xsd/&4').getClob(),
    new 5: schemaDoc => xdbURIType('/home/XDBTEST/xsd/xmldsig-core-schema.xsd').getClob(),
    old 9: genTables => &5
    new 9: genTables => TRUE
    PL/SQL procedure successfully completed.
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    $

  • Someone Please Explain This to me-Quad G5 running slower that Christmas

    I just got my Quad Powermac G5 fully loaded w/ 8 Gigs; 2 500 Gig Hd's and this thing is running slower than my 15 inch powerbook with 2 gigs. I am running Motion 1 and I am simply taking a picture and applying an effect (nothing crazy just simple blurs and such) and it will not play in real time? it seems to be just as slow at rendering effects as my powerbook? it took 3 mins. to render 15 seconds? Could someone please explain this phenomenom? I am a little baffled and ****** off.
    Quad Powermac G5   Mac OS X (10.4.3)  

    Mac OS X is heavily cache and swap dependant, its like the OS was designed to run with flash RAM instead of hard drives or something.
    The speed of Mac OS X will improve greatly upon the I/O speed of your boot drive.
    Since you got the stock 250 GB, most likely without a large 16Mb cache, Mac OS X will crawl slower and slower as the boot drive fills up.
    I've noticed with my brand new 20" iMac G5 that I'm getting beachballs, there is nothing hardly on the drive and it's not even hooked ot the internet and it's slow, a pig 250 GB 7,200 RPM drive.
    My main machine in my signature is lighting quick, windows snap open, program launch fast as heck and boot time is under 30 seconds. Actually it's a combination of things, fast video card, plenty of RAM and fast drive I/O speed that make a Mac snappy with the feature and eye candy rich Mac OS X.
    The Quad has four processors, so CPU intensive multi-threaded applications will perform long jobs in short order. As well as running many applications at once.
    What will help make your Quad snappy is to replace your boot drive with a 74 GB 10,000 RPM Western Digital Raptor and keep it slim, keep your files on a second drive, leave your iTunes and User "home" folders alone on the Raptor just near empty.
    I've written it up here in a text doc
    (I get no comp for product mention)

  • When i download any file it start in a second but when i pause the downloading file & after some time when i open it amessage flash 'download error' source file could not be read please try again later or contact the server administrator.

    when i download any file it works frequently and downloading start in a second but when i pause the downloading file & after some time when i open it,The downloading not start proper and after some time a message flash 'download error' source file could not be read please try again later or contact the server administrator.

    I downloaded the Microsoft Autoruns package and ran it.  There are no programs in the LSA Providers tab, and Apple's Bonjour is the only program in the Winsock Providers tab.  I also did the "netsh winsock reset" and rebooted.  It didn't fix the problem.  Any more ideas?

  • Adding Picasa account: Android error - There was an error creating your account. Please try again.

    I successfully synced with gmail (contacts, mail, etc.), youtube, as well as some other services. I am unable to create the account that accesses Picasa. Each time I try, I enter the email and userid for my account, and I get the same error message "There was an error creating your account. Please try again". I verified that the username and password are correct by signing into Picasa Web directly. A number of other people are experiencing this problem, as can be seen here: http://www.google.com/support/forum/p/Picasa/thread?fid=446b5bd3493325ff0004ad7d643c968c&hl=en
    Does anyone know what to do to make this linkage work? I want to be able to use the integrated gallery to access my Picasa pictures.

    Oracle forums: current quality level...

  • Someone please help this is getting irritating!

    how do I fix the system overload erra audio engin was not able to process all required data? someone please help this is getting irritating!

    You have a few options:
    1- Increase the Buffer Size in the Logic Devices Preferences to the maximum (1024)
    2- Freeze some Tracks with CPU intensive plugins
    3- Buy a faster computer
    Hope that helps
    Edgar Rothermich 
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

Maybe you are looking for

  • Events in  Alv

    hi Experts    i hav e requirement on   report in  alv oops . in this  , let me know the details   how  to   display the  events  liken "top-of-page", end of page and   list header , list footer  in oops, please provide the suitable  code Regards Span

  • Stock Transfer B/W Two Plants ( 303 & 305 )

    Hi MM Experts..... Im working with the scenario of two plant stock transfer ie., 303 & 305 and in need to control the posting date of 305 should be gerater or equal to the reference document ie., 303. There is a field LFBNR - Document No. of Referenc

  • How can I do a hard reset without losing app data?

    I have international texting on my phone and it's having an issue sending images to my friends overseas. The words go through but no media. I have Verizon's More Everything plan and after two days trying to get this sorted on their end, they want me

  • How to call a java script in while eventprocessing?

    hi friends, How to call a java script from an event. when i click a button, i want to display a message in IE. For ex: BTN_CAN, When i click on this in IE i want show a message like "clicked on cancelled". how can i do this..... in javascript WINDOW.

  • Looping photo slide show in media manager

    I want to use the media manager to loop a presentation of photos from my PC. they only run through one time and then I need to hit ok on the remote to restart. Is there a repeat or continuous loop option? I want to run them throughout the day at a pa