Dynamically changing flat file target location in OWB10gr2.
Hi,
We have a requirement where in we are suppose to load a flat file from relational tables and the location of the flat file needs to be configurable at runtime.
Please suggest if this is achievable.
Regards,
PHD
Edited by: user1662077 on Jun 17, 2009 10:08 PM
See the post here for dynamically generating target file names using the OWB file operator as a target;
http://blogs.oracle.com/warehousebuilder/2007/07/dynamically_generating_target.html
Other techniques also include using a table function as a target.
Cheers
David
Similar Messages
-
Issue with characterset setting in OWB flat file target
an OWB mapping reads from the database source and writes to flat file target in unix os but junk characters are displayed for non english characters in the target file . The database table contains french,spanish,german,arabic characters.The nls db parameter setting is AL32UTF8. The same setting has been applied to OWB target also but still junk values are appearing for non english characterset.different charactersets like al32utf8,utf8,utf18,us7ascii have been tried at owb target setting but nothing is wroking out to remove junk characters. Please suggest
Edited by: 943807 on 30 Jun, 2012 10:43 PMPlease provide some input on the issue
-
Urgent.. Characterset of flat file target in OWB
OWB mapping reads from the database source and writes to flat file target in unix os but junk characters are displayed for non english characters in the target file . The database table contains french,spanish,german,arabic characters.The nls db parameter setting is AL32UTF8. The same setting has been applied to OWB target by editing flat file defintion also but still junk values are appearing for non english characterset.different charactersets like al32utf8,utf8,utf18,us7ascii have been tried at owb target setting but nothing is working out to remove junk characters. Please suggest
Yes this should be fine. Are you using the gateway to access SQLServer or code template mappings? You need to track which columns are throwing the data type conversion errors.
Cheers
David -
SQL Server Source and Flat File Target in OWB
Hello All,
I have a question, is it possible to have SQL Server as Source and Flat File as Target without using any intermediate Oracle table(s).
like
SQL Server --> ETL Operators --> Flat file?
as i m getting errors in data type conversions here. but if i replace flat file with Oracle table it works fine. (though i have used some conversion functions for data types as well in Flat file loading but it is giving me errors)
Thanks in advance.
TayyebYes this should be fine. Are you using the gateway to access SQLServer or code template mappings? You need to track which columns are throwing the data type conversion errors.
Cheers
David -
Dynamic changes / init file?
Is there any way to bypass changing the init file to make a dynamic change?
I have to make a change for archiving, and I can't bounce the db right now.
10.2.0.3, HPUX itanium
changes that need to be made...
log_archive_config DG_CONFIG=(peregrine,swesc)
log_archive_dest_state_2 = DEFER
fal_client peregrine
fal_server swesc
I don't really want to just issue these at the command line unknowing if they would do as I want or cause adverse affects.
Is it possible to just rip the command, and update the file too? command line causing immediate change, and init file change will allow for keeping it when restarted...
Thanksalter system set <parameter> = <value>;defaults to memory assuming that they are immediately modifiable
otherwise
alter system set <parameter> = <value> scope = memory;should do the trick as well. You probably want to use a spfile that way you can do both at the same time:
alter system set <parameter> = <value> scope = both; -
SSIS - Change Config File Path LOCATION in SQL Agent Job Step (NOT USING DTEXEC)
SSISers;
I am not new to ssis but am trying to deal with promoting of ssis config files differently for a specific project. We are using SQL 2008 R2.
As a standared pattern used for years, we just use SQL Agent, build a job step for the ssis package, add the ssis package as SQL Integration Services Package type from fileshare (not using Integration Services), and add the necessary production
config files in the configutation tab of the job step. Easy. We do not execute our packages with DTEXEC command line.
A new project has the developers leaving the config files in the package - not removing the config files for deployment. Is there a way to override JUST THE CONFIG FILE PATH LOCATION in the job step for ssis package? Remember, we are NOT using dtexec.
I was told that /SET might do it but I do not see a good example anywhere of hooking this in and how it works for a CONFIG FILE PATH LOCATION - I see variable overrides but not CONFIG FILE PATH LOCATION. The packages were written with Absolute config file
path and not Relative path.
Please understand that my goal is to let them leave the packages as is, we move the config files to the production sever and all we have to do is flip the location of where the config files are sitting for the ssis pacakge to look for them. We would
rather NOT have to use DTEXEC command line with the job step for reasons that I do no need to get into on this forum.
Any suggestions are appreciated.Hi mg30,
There is no way to overwrite the XML configurations file just through modifying the SQL Server Agent job steps. The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command
lines or other package configurations configured in the job step.
If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations
or modify the XML file path in the BIDS.
If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
Hi I have Oracle table as source which has about 150 Columns and i have to load the data into flat file. Is there any way we can get the column names instead of
manually entering all the column names.
ThanksHi!
You can do this query for get the columns name and make a flat file with the "Append" option and later you can do your query for populate the flat file
select column_name from user_col_comments where table_name like 'YOUR_TABLE_NAME' -
Updating flash from a dynamically changing XML file
Creating a non-interactive status display: I want to have the
flash display reflect data in a server-based XML-file. So far this
is easy. But I want the display to change everytime the XML file
changes-- in order to reflect status changes. I've used an
XMLConnector and specified it and the trigger in the first frame.
The Flash code catches and shows the XML values initially . But
when I edit the XML file, the new values are never picked up by
Flash- its almost as though the values are cached. How do I get
Flash to regularly be updated from a changing XML file? I've also
tried putting the trigger in a loop- but that doesn't work
either.I DID find a solution with setInterval, but there is still a
problem of a diffeent sort.
When using XMLConnector, it appears that
XMLConnector.trigger() is the thing that goes out and gets new data
from the server. so:
function checkForData():Void {
myXML.trigger();
<<handle new values of bound data>>
var intervalID:Number = setInterval(checkForData, 10000);
works very well by executing the trigger every 10000
timeunits. This all works when run in the Flash Player. However, if
I embed the thing in a webpage (with either FireFox or IE7 or 6),
It stops triggering after the first time. Interestingly if I also
run the Flash Player version, then the web version keeps updating,
but stops if I kill the Player. So, I'm wondering: whats up with
this? -
Dynamically generating flat file using OWB10gr2
Hi,
I am trying to generated an XML file using OWB10gR2.
It is achievable to create a predefined file ie with static name or add sysdate into the file name,but can we name the file depending on the Request Id which can be provided as an Input to the mapping.
Any suggestions will be helpful.
Regards,
PHD.You can define expressions which you might be able to be creative with;
http://blogs.oracle.com/warehousebuilder/2007/07/dynamically_generating_target.html
Cheers
David -
Dynamic name Flat file reading.
Hi all,
my client wants to schedule a BDC program for daily running.
But the file name is changed daily eventhough path is fixed.
can this be done.
can we read dynamic file from local system.
thanks in advance
Vikash.yes. so u can at initialissation for the paramter which takes the filepath name you can set to synamic filename as below
data : p_filename type RSVAR-FILEPATH.
initialization.
concatenate '/....SAP Forex Upload_' sy-datum+06(02) sy-datum+04(02) sy-datum+00(04) into p_filename. -
Can we dynamically change the file name in dst file in Report 6i, Urgent!
I am calling dst file to generate file with diffenet format.
but name of the pdf file should generate dynamically everytime i call dst file,
is there anyway to set the desname in dst file in Report 6i? Any solution,
Thanks for your helpHi Roshan,
Create two RKF's one for Normal Invoices and another for canceled invoices, for doing this you should have some characteristics or some status value which will identify the normal and canceled invoice.
In the Normal Invoice RKF simply restrict the key figure with status restriction as Normal and pull the invoice amount as key figure. And in case of Canceled key figure you will set the status restriction as "canceled" and pull the invoice amount, now for canceled invoice key figure to show the negative value do the following,
Go to RKF properties of canceled invoice and mark the check box +/- Reverse sign, which will show the negative amount.
Regards,
Durgesh. -
Dynamically changing the file name using the submit button
I am currently using a submit button to send information to myself from the user of the form. Is there any way to change the name of the file that is emailed as a .pdf file according to some type of parameter or data set that is collected in the form?
Not programmatically. The attachment wil take the same name as the opened PDF. If you change the name of the PDF then it will change your form name as well. That cannot be done programmatically.
-
Dynamic name physical file target
Hi
i have create logical file name with physical target name : /appli/interfaces/<FILENAME>_<SYSID>.csv
i want also add system time , date in this name.
anyone cab help me
thanks.This is exactly the same as for <FILENAME> and <SYSID>. Those are all reserved words. In transaction file on field Physical file click F1 help and you will see a list of all reserverd words you can use and are subsituted automatically.
Here is part of the list:
Reserved word Word to be substituted
<OPSYS> Operating system in call
<INSTANCE> R/3 application instance
<SYSID> R/3 application name in SY-SYSID
<DBSYS> Database system in SY-DBSYS
<SAPRL> R/3 release in SY-SAPRL
<HOST> Host name in SY-HOST
<CLIENT> Client in SY-MANDT
<LANGUAGE> Log on language in SY-LANGU
<DATE> Date in SY-DATUM
<YEAR> Year in SY-DATUM, 4-character
<SYEAR> Year in SY-DATUM, 2-character
<MONTH> Month in SY-DATUM
<DAY> Day in SY-DATUM
<WEEKDAY> Day of the week in SY-FDAYW
<TIME> Time in SY-UZEIT
<STIME> Hour and minute in SY-UZEIT
<HOUR> Hour in SY-UZEIT
<MINUTE> Minute in SY-UZEIT
<SECOND> Seconds in SY-UZEIT
<PARAM_1> External parameter 1
<PARAM_2> External parameter 2 -
Change airdrop file download location
does anyone know how to change where airdrop files are saved when transferred on OS Yosemite macbook pro. Would like for them to be saved to the desktop not the downloads folder. Thanks!
I'd like to know this two because from Air to iMac, they go in Downloads, but from iMac to Air they vanish and I'd love to know where they are!
-
Dynamic flat file loading in OWB 11g
Hi,
I'm working on owb 11g, i need to load multiple files into tables having the same file name where only the date and file sequence number changes. The files are of format:
FileA_2009_1
FileA_2009_2
FileA_2009_3,etc....
How can i dynamically change the files and load to one table. Can this be achieved through external tables or sql* loader? Is there any such new feature in OWB 11g?
Rgds
RexHi
SQLLoader mappings have the data filename as an optional input parameter (a fully qualified name can be passed). So you could have a loop to get the names and call the mapping. If it was External table you'd have to do an alter table to set the data file. If the filenames are static you can configure the ext table and mapping with the names.
Cheers
David
Maybe you are looking for
-
How do I sync multiple iPods to the same iTunes Library?
How can I sync multiple iPods to the same iTunes Library?
-
Hello friends, I have interview in two days , now i have to face client interview through webcam and one with face to face, im very much tensed up and please guide me wht to study and which is most important ones in FI side, waiitng for you reply..im
-
Shuffle only plays music out of right earphone.
I have had my Ipod Shuffle 2nd generation for years with no problems. I have always used aftermarket earphones with no problems. Then suddenly one day the left side stopped working. Naturally I thought I needed new earphones. Not at all...I bought ne
-
How to do fast export and import
i have a windows 2003 server and oracle 10.2.0.3 installed on it. here i want to ask how i can speedup my export and import using expdp.
-
When I try to install iTunes I receive the following error message: "Apple Application Support was not found".