How to pass a value to a variable at the time of the execution of the script
Hi allI need to establish an ODI scenario, with below requriments.
I have to move the data from flat file to target DB.
flat file name is not consistent, it must pass the file at the time of the excution of scenario name.
All could help me how to build this ODI scenario.
Appreciate your help.
In the data store where the filename in the "name of the resource', you enter a variable #myVar
You must recompile your script after that this change was made.
And when you run the script, follow the «-Project.myVar=c:\filename.txt settings.
Probably, this link may help you http://blogs.oracle.com/dataintegration/2009/04/using_parameters_in_odi_the_dy_1.html
Tags: Business Intelligence
Similar Questions
-
Hallo,
I have a LOV associated FieldB and showed it in the popup LOV, these must be filtered according to the value of FieldA (2 fields belongs to the same TableVO VO).
The LOV associated FieldB is based on a VO that has a binding variable 'BindCodInstitute '.
I would like to know how I can assign the vuale of FieldA to the variable binding.
What expression I have co-debtors variable binding?
Thank you
Federico
also see - https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
-
Hello:
How to configure contextual events publish several values of payload?
On click of a button, I'm declaritively publish a contextual event, which works very well when a single value is passed to the event handler.
My event handler method has the signature of:
eventHandler (String)
But now I also have an oracle.jbo.domain.Number, so my new eventHandler looks like this:
eventHandler (Number, String)
How to pass two values during editing of the event and how to place the payload with multiple values for the new eventHandler?
All article or code would be greatly appreciated.
Thanks for the help.You define a bean holding your values and pass an instance of the bean as a payload...
Timo
-
Should variable in the script to report
Hi all
We can use the substitution variable in the scripts of report as below
{ROWREPEAT}
{4 DECIMALS}
& v_PERout
Report scripts works well when there is that a single value in the variable as Jan, but the same failed when we spend 2 values Jan, Feb.
Please let me know where it is possible to accept a multiple value of variable in the script to report.
Thank you
Vikram
What exactly is the value of the variable substitution?
Don't forget that the substitution variable is simply "substituted" in the report as a text string - Essbase don't know or care that it's a list of members or whatever when he performs the substitution.
If you need proxy to look exactly as you enter these values when creating manually to a report, for example to your value...
"January", "February".
... or...
Jan Feb
-
How can I fix, "an error has occurred in the script on this page line: 2107"?
How can I fix "an error has occurred in the script on this page line: 2107, Char: 1? I've recently upgraded to Explorer 9
Hello
I'll try to uninstall IE9 as shown in the link below.
When this is complete and you have restarted the PC, see if you can now print. If everything works well, try reinstalling IE9 with your security software temporarily disabled during installation.
Kind regards
DP - K
-
Hi community, I have a problem with script labview matab, I have this problem:
Error 1047 to LabVIEW: LabVIEW failure of sending variable to the script server. Server
Possible reasons:
LabVIEW LabVIEW: Cannot send the variable to the script server.
We have some documents that mention possible reason why this error occurs, you might see if either of the following apply to what you see.
http://digital.NI.com/public.nsf/allkb/8BEBC0C86541224286257AF300561B5E?OpenDocument
http://digital.NI.com/public.nsf/allkb/2B3FF46C8512C4F786256CF30071BE53?OpenDocument
-
How can I pass a value to a variable binding in a report query?
I did a query of report to print a PDF report, with a dinamyc source query that has a connection variable, like this:
SELECT EMPNO, EMPNAME, EMPDEPT
FROM EMP
WHERE EMPNO =: PARAMETER;
I want to call the report print directly from a page, by using the url print showed by apex:
f? p = & APP_ID.:0 : & SESSION. : PRINT_REPORT = MYREPORT
How can I pass the value of the variable binding: PARAMETER using this URL?
I don't think you can use the url parameter passes in a report query.
the binding variable: PARAMETER must be a page element or an element of the application.
use the "include session information and application" in the defination of report query to bind the value when the report is run
-
How to pass values to a variable of the file.
Hello
I want to pass values in a variable to a file. For example: I want to divide the records in the source based on the region and load a region at any given time. Is there a way I can tell ODI to load only one region at a time. Currently I think I have a varibale defined, pass the value from a file and use this variable in the source filter.
All answers are appreciated.
Thank you
CHikkHello
Right thinking...
Simply use the following command, to the updating of the ODI variable tab, to get the values directly in the file:
Select REGION_NAME
table
/ * $$ SNPS_START_KEYSNP$ CRDWG_TABLESNP$ CRTABLE_NAME = REGIONSNP$ CRLOAD_FILE = <%=odiRef.getSchemaName("D")%> \MY_FILE. TXTSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=09SNP$CRFILE_SEP_LINE=0D0ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=REGION_NAMESNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLINE_OFFSET=1SNP$CRLENGTH=500SNP$CRPRECISION=500SNP$CR$$SNPS_END_KEY*/(the command between ' / * ' and ' * / ' must be in a single line)
Change the 'MyFile' the real file name
This help you?
-
How to pass a value of element / from one application to another application.
I have a a request App 'Hand' with a list on Page 1. This list has two entries in the list, all pointing / linking to different applications. The purpose of the list is set to redirect to the appropriateapplication using the f? p = & APP_ID:1: & SESSION. syntax. I put the same cookie for all three, the 'main' App and the two application sub/related, and everything it works fine.
Now I would like to pass the variables that I put in the "hand App" to two other sub/related applications.
I want to put in place a process of "Anonymous PL/SQL block" to be run "on load - regions front" who would name an authentication package on Page 1 of the App 'hand '. Page 1 would include 10 hidden object and the values returned by the authentication package would serve to set/fill these hidden items. I am able to access these elements and values of page 2 of the App 'hand '.
The question is how access/reference of the elements/values defined in Page 1 of the "hand App" in another application sup/related?
Is this possible?
Thank you
DPHello
To pass values using URL syntax, take a look at this:
http://download.Oracle.com/docs/CD/B32472_01/doc/AppDev.300/b32471/concept.htm#BEIFCDGF
If the second request that you are calling from the main application is, say, number 100, and this application page is page 1, the URL will look like this:
f? p = 100: 1: & SESSION. : P1_ITEM1, P1_ITEM2,...: ITEMVALUE1, ITEMVALUE2,...
P1_ITEM1, P1_ITEM2, etc., are page elements that must exist in page 1 and their values will be automatically assigned.
On the issue of the collection, I suppose that the values are specific to a session (different users will have different values). In this case, to store the values in a table is not good unless you store the username with them, but despite this they will be specific to the user, not specific to the session. Maybe that's what you need, perhaps not... No reason why you don't want to use the collections?
Luis
-
How to pass a value to the form defined in the context of security file name?
Hi all
Yet to learn JavaScript... I have a JavaScript script, save a copy of my pdf to a location on my machine. Got the privileges of working well as well.
How I spend in the field values for the file name? Right, the created pdf copy is now called .pdf [object scope]. Instead, I want to use dynamic values of in the form itself.
Then this.documentFileName gets me the name of the file (Code record trust)...
var mySaveDoc = app.trustedFunction (function (doc, subName) {}
app.beginPriv ();
var myPath = "/ c/SubInspectionForms /" + this.documentFileName + ".pdf";
saveAs is the only privileged code that should be placed
with beginPriv/endPriv
doc.saveAs ({cPath: myPath,})
bCopy: true,
({bPromptToOverwrite: true});
app.endPriv ();});
this.getField("INSPECTION_Location") doesn't the value of a field:
var mySaveDoc = app.trustedFunction (function (doc, subName) {}
app.beginPriv ();
var myPath = "/ c/SubInspectionForms /" + this.getField("INSPECTION_Location") + ".pdf";
saveAs is the only privileged code that should be placed
with beginPriv/endPriv
doc.saveAs ({cPath: myPath,})
bCopy: true,
({bPromptToOverwrite: true});
app.endPriv ();});
The script on my SaveACopy button is:
subName var = this.getField ("INSPECTION_Location");mySaveDoc (this, subName);
I need the value of the field in the function?
It is easy to think 'this. GetField"is a universal thing you can still use, but it is not. Read carefully the description of the object "Thi". It is set in some contexts, and I don't think this is allowed when using it. You must pass it as a parameter in a context where it is defined.
-
How to pass a value of form to Google Analytics
I would like to pass a form value to Google Analytics. That is to say. If the user enters a value and sends the form, on the confirmation page, that I would read the value and other form fields and pass those who populate the Google Analytics tracking code, IE. This complete with the values of the form:
_gaq . push (['_addItem',
'1234' , / / Necessary to associate a transaction command ID -
"DD44" , / / SKU/code - required
"T-Shirt" , / / name of product - necessary to associate the recipes with the product
"Olive Medium" , / / category or variation
' 11.99' '. , / / unit price - required
'1' / / quantity -
]);Google that don't pick up Kenneth.
Page custom conformation, pass variables through the URL and the URL module allows to fetch those and popular analytical values.
-
How to pass a value of text to another page?
If you have a text input and a button to the page 1 how to make that value available on page 2 after clicking on the button. I created a flow of the page by clicking on the button brings me to page 2 but not sure where you get the value of input text that was on page 1.
Thank you.As you can see in the code I added an inputText and a CommandButton on page1.
I use setActionListener to pass the value of page1 page2 declaratively.
In faces config, I created a stream of page 1 to page 2. The value 'of result' as the action attribute of the commandButton control.
I created with an outputText page2.
Everything you enter in page1 should appear in page 2 when you click on the CommandButton.
Yet, you can't make it out, let me know your email id, I will send you the sample application. -
How to give a value to a variable that is defined by the user for the use in my statement
Hai All
I declared a variable
declare
In_time varchar2 (25);
out_time varchar2 (25);
then I wrote a so other logic and this is my encoding
Start
go_block ('TEST_SRI');
PREMIER_ENREGISTREMENT;
LOOP
If: bartime between 0145 and then 0630
Update dail_att set = outtime: bartime where barcode =: bar code
and ATTEND_DATE =: BARDATE-1 and in_time is set to null and out_time is not null;
elsif: bartime between 0630 and 0900 or: bartime between 1130 and 1230 or
: bartime between 1700 and 1800 and in_time is null then
insert into dail_att(barcode,intime,attend_date)
values(:Barcode,:Bartime,:bardate);
elsif: bartime > 1645 and t_in is not null and out_time is null then
Update dail_att set = outtime: bartime where barcode =: bar code
and ATTEND_DATE =: BARDATE and respondent are not null and outtime has the value null.
I need to know how can I give the values of these variables if I use the variable in my statement
If it is possible by using the slider Pls tell me the steps to solve my problem
and while I will carry out my loop it get only half of my files what is wrong.
Concerning
Srikkanth.MYour question seems to relate to Oracle Forms, which has its own forum of OTN.
But as it comes to PL/SQL I will make a comment... Unfortunately this comment is that in reading your post, I don't know what you're asking.
You wrote: "I need to know how can I give the values of these variables if I use the variable in my statement.
What variable? Why don't you use a duty with: = as you obviously already know how to do?
An example would be very useful.
PS: Always display product names and version numbers.
-
How to pass multiple values to a data model parameter
I have a data model, where I put a setting like this.
Select col1, col2, col3 from table1 where col1 =: param1
This works very well for a single value that I pass the param1 parameter.
How can I get this to work when I want to send multiple values for param1. I already checked the box "Multiple values" and tried to change the sql for this code.
Select col1, col2, col3 from table1 where col1 in: param1
Looks like I'm missing something here.
Thanks in advance!
Krisyou need to write it as:
Select col1, col2, col3 from table1 where col1 in (: param1)
It works for me.
Klaus
-
How to display a value constant and variable
Hello
I'm trying to display a variable in sql the line of command and oracle xe object browser. Here is a small code to assign a value to a variable of an existing column name id that has value 4567 plane of the table. I'm a newbie, so forgive my ignorance:
Report the number of new_num;
Start
Select code in new_num of aircraft where id = 4567;
end;
/
Issues related to the:
1. something wrong with the code?
2. How can I he discovers via sql more command line?
3. can I see it in Oracle XE gui object browser?
Kind regards
ValerieDbms_output.put_line ();
declare new_num number; begin select id into new_num from airplane where id=4567; dbms_output.put_line('new_num:'||new_num); end; /
Maybe you are looking for
-
I'm trying to get an e-mail account, but I do not know the password.
I'm recovering from an e-mail account that someone put in place and I do not know the password. I have answered the safety question and tells me that it is the wrong answer. I know that it is correct. Any ideas? original title: security for e-mail qu
-
How to generate a report of the duration of the sessions remotely on windows server 2008 r2?
Hello I have about 10 (local users, not domain) users who are loging in Microsoft Server 2008 R2 to use accounting and planning software (using RDS) remotely. I would like to generate a report for the time spent to see how many hours each of them had
-
How do I eject the speaker (audio beats) for cleaning coverage
My laptop is hp (dv6-7180se) and I want to clean the perforated lid which exists on speakers beats... Look at the picture: I can open it without screws open back? Please I need a few details to eject safely
-
Hola como puedo hacer para crear una cuenta are what me pide number of the pantalla
-
How to install adobe photoshop cs &; cs2 on windows 10?
Getting back into photography after only a few years and I just bought a laptop with windows to the edition 10. However, I do mistakes as I try to install. I still have my records and the serial numbers. Any help on how to install this software, I pa