Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7086849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:36:03+00:00 2026-05-28T07:36:03+00:00

Am using few variables to load csv file value into raw destination, and same

  • 0

Am using few variables to load csv file value into raw destination, and same variables from raw source to oledb destination.

variables List

 1. CurrentFileName--> FX Accrued Income_20120111_161019.CSV     
2. FilenamePrefix--> it has expression ( ((DT_STR, 4, 1252)DATEPART("yyyy", (DT_DATE) @[User::AsOfDate] ) + RIGHT("0" + (DT_STR, 2, 1252)DATEPART("mm", (DT_DATE)@[User::AsOfDate]), 2) + RIGHT("0" + (DT_STR, 2, 1252)DATEPART("dd", (DT_DATE)@[User::AsOfDate]) ,2))  )    
3. AsOfDate--> 01/20/2012    
4. Sample Output --> C:\satish\New Folder\     
5. stagingouputpath-->  it has expression ((RIGHT( @[User::sampleoutput] ,1) == "\\" ? @[User::sampleoutput] : @[User::sampleoutput] + "\\")  + SUBSTRING( @[User::CurrentFileName] ,1, FINDSTRING( @[User::CurrentFileName],".", 1) ) + "RAW"    )   

Now in raw destination —> i have given access mode has from varibale and variable name as stagingoutputpath

<b> raw destination   
acess mode--> from variable  
filename--> stagingouputpath  
write option--> create always </b>

and next level i need to use this ouput destination as input variable for raw source and load it into sql destination..

destinaton table contains fields like  
report_dir, reportpatternname, processtype,

now i need to insert this raw source file name to reportpatternnname   
example   
reportdir--C:\satish\New Folder  
reportname--FX Accrued Income

in destination table

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:36:04+00:00Added an answer on May 28, 2026 at 7:36 am

    The error SSIS is reporting but you did not state in your questions, is that step 2 is failing because it’s an invalid raw file/does not exist. This makes sense because the file does not exist and won’t until you run the package. I had assumed since your previous question had a requirement for using raw files you were familiar with them.

    • http://www.jasonstrate.com/2011/01/31-days-of-ssis-raw-files-are-awesome-131/

    Run your Initialize raw file step and then the next data flow should work. You’ll probably want to set delay validation to true.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m using a few custom MSBuild tasks that are checked into source control. I
I am using Parallel::ForkManager to pass a few variables from the children to the
I want to pass a few variables to another page. Currently I'm using response.redirect
I've run into a few problems using a C# regex to implement a whitelist
I'm using a URLLoader to send a few key/value pairs to a php script,
I am using few CComVariant type variables to store interface pointers.However, sometime I need
I'd like to dynamically name a few functions using variables, like this: $thing =
I'm using a few (2 or 3) master pages in my ASP.NET MVC application
I'm using a few repository which I do not host myself and I thinking
I have run a few using batch jobs, but, I am wondering what would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.