Passing the value of the BONE to ODI
Hello
I am fairly new to ODI. My requirement is that I have to pass a value to the UNIX operating system to ODI.
Script - files are FTPd in a UNIX directory. To load all files in the database one after the other. The number of files may vary
My execution of the package is the following
(1) order OS to count the number of files in the dir and store it in a variable for ODI access
(2) OS command to move a file from FTP location to the location of the ODI and rename the file (for example: Signups_20131212.txt to Signups.txt)
(3) ODI interface to load the file into the database
This process would be part of a loop, the number of files, determine the number of times that the loop runs.
My question is, how do I get the number of ODI records directly. I would like to avoid you might write in a database table and read here
Thank you very much in advance for your help
Thank you
APA
Hello
first link is a must for everyone
More of life than that...: ODI series & #8211; Processing all files in a directory
With this, you will have your data. Count is good enough a count (*) from your table. Then an OdiMoveFile will rename your file (but you can follow the previous topic).
Let us know if there is something that John wrote
Tags: Business Intelligence
Similar Questions
-
Pass the value to an ODI procedure
Hello
I need to pass the value of a variable ODI ODI procedure.
Let me tell you what I did:
(1) first make an ODI procedure and passing the name of the variable of ODI that I spend in the options of the procedures such as #V_Test.
(2) now, I did the screenplay for this procedure.
(3) next I used the scenario of the procedure in other ODI package and also added that the variables I have to spend in the procedures.
(4) but now when I'm passing the values of the variables in this package, procedures is not accept the values.
Please suggest.
Thank youSelect the scenario, and then go to the Properties tab. You will get an additional variable that you want to pass.
Provide your value of the variable y -
ODI 11 g | Passing the value of the variable ODI option procedure
Hi Experts,
I need to pass the value of the global variable / project to an option of the procedure and in the application of the procedure to retrieve. Procedure will be implemented in jython.
How can I pass the value of the variable option procedure ODI & then retrieve it in the jython script?
Model data source is the flat file based & I want to retrieve the location of the source directory using jython/java (must implement an on file preprocessing step before calling the interface to load). Is there an ODI API to retrieve the location of the source directory?
Thank you
AshishThe reason OdiGetOption won't work because odigetoption running will search for the name of the variable where like everything using the execution variable will look at the value of the variable.
In order to manage your situation i belive, we can establish by using the combination of getoption and global variable using the if conditionYou can write code something like that
If odigetoption == 'dat ':
ctrlfileExt = #v_CtrlFileExt
If odigetoption == "txt":
ctrlfileExt = #v_CtrlFileExtTxtThis way, when you call the procedure, you can supply the value of the extension and procedure will use the right variable and the value.
I hope this helps.
-
Store the user receives the value in a Variable of Odi
Hello
I want to store the value user given (run-time) in a .txt file using shell script. If I want to change the value of the user given to the shell script. In the package, I put the variable in mode refresh as a first step, then the odioscommand link OK. When I try to run this package fails (* ODI-1246: * the logical schema has not been set for Input_Variable).
FYI: -.
I just create a simple numeric variable. Select the most RECENT VALUE for her and the schema is not defined. Default value is 0.
After that this problem occurred I select the oracle, memory engine diagram diagram etc and run again the package/scenario but it the same result.
Please advice
Thank you
Papai
NB
Here are the details of the problem: -.
ODI-1246: the logical schema has not been defined for Input_Variable.
at com.sunopsis.dwg.dbobj.SnpSessTask.getDefaultDwgConnectConnection(SnpSessTask.java:508)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.getExecutor(SnpSessTaskSqlV.java:428)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.processTask(SnpSessTaskSqlV.java:405)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:240)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)Yes. If you want to pass the variable at run time, then you will see a pop-up window. Here, you can pass the value.
-
Pass the value of the variable during execution
Hello
I have a package with a set of interfaces and three other variables.
I want to pass the value of the variable at runtime, based on the value passed I want to decide which interface to run then. How can I do this? I got a set variable but I want to asssign the value during execution.
Any help is greatly appreciated.
Thank you
SanYou have many options to achieve this goal.
1. keep the run settings in the database, extract the Variables in a time of refreshment and use these variables in your Interfaces to get values of execution.
2. change the value to the variables on the outside. You can declare a variable in a package as a step of the statement, and then use the variable in your interface in a successive step in your package. Then, create a scenario of your package and creating the scenario, it will prompt you to include the variables that you want to include as a startup parameter. Choose the one (s) concerned. Citing this scenario using Java or an OdiStartScen command or by using Webservices ODI externally, you can provide values of the runtime as a result.
I hope this helps.
Concerning
APublished by: 922636 on August 29, 2012 23:53
-
HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE
HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE.
HOW THEN IT WILL CHOOSE CORRECT ON SUB VI HEXAGONAL ENUM VALUES.
Enum values are strings, you must first convert the hexadecimal value to a hexadecimal value chain represtation.
Then that convert from the enum.
-
Pass the value of slot - VI VI
Hello
I have enclosed below my main vi and the Subvi. In the Sub - VI is a simple timer in a while loop that begins a Boolean button and stops when the time elapses. The problem is that I don't see the value of the clock when the Subvi works on my main vi and I just get the value after the end of the timer. I tried to solve the problem using references, but I can't make it work. According to me, Miss me something. Can you help me please?
Yes it is.
And if you read the message 3 in the link I gave, he would have given you this link. How can I change the changes to a control/indicator a Subvi on the main VI?
This shows you how to pass the main in sub - VI a VI command reference, so that the Subvi can update it using a value of property node.
-
Hello.. I'm creating an application of streaming, in which I have a list field in a screen like this...
1
--------
2
--------
3
--------
and when the item 1 is selected means a url must be passed to the video player...
I created the list field screen in a package and a video player in other package... but I do not know how to pass the value of the field from the list to the player... Help, please... its URGENT...
You can get the index selected by the listname.getSelectedIndex () method and compare that value with Vector data (data store URL) .that you will give a correct value from the URL and pass it.
-
Waterfalls by passing the value between QML
Hi, I have the main.qml with a display list, on, click on any element of the display of the list, I want to pass the value to another QML which is a leaf to change or remove, I followed what is on the tutorial to use the alias property to the second page to set the alias for the fields that I want to access another page and have the main.qml to create the object in the worksheet and assign value and open. Right now, it's say those alias not found. Here is the excerpt code sheet QML import bb.cascades 1.0 sheet {id: content newEventSheet: Page {id: addEventPage... eventNameText.text = ' '; eventTimePicker.value = eventTimePicker.dateFromTime("00:00:00"); newEventSheet.close (); mainObj.addData (eventName, selectedHour, selectedMinute, selectedSecond);}} Container}}} {layout: StackLayout {orientation: LayoutOrientation.TopToBottom} container {container {layout: StackLayout {orientation: LayoutOrientation.LeftToRight} leftPadding: 20.0 topPadding: 50.0 bottomPadding: 50.0 Label {text: preferredWidth 'Event name': 200.0} TextField {property alias txtEventName: eventNameText id: eventNameText hintText: preferredWidth 'Enter event name': 500.0}} container {layout: StackLayout {orientation: LayoutOrientation.LeftToRight} leftPadding: 20.0 Label {text: preferredWidth "Event time": 200.0} DateTimePicker {property alias pickEventTime}}} {{: eventTimePicker id: eventTimePicker mode: DateTimePickerMode.Timer minuteInterval: 1 preferredWidth: 500.0 onValueChanged: {}}} hand QML Container {id: eventListContainer ListView {id: eventList dataModel: eventsModel / / use a ListItemComponent to customize the appearance of the list function itemType view (data, row) {console.log ("Calling itemType:" + row);}}} return "item"; return (indexPath.length == 1? ("head": "item"); } listItemComponents: [ListItemComponent {type: 'the point' StandardListItem {title: "event:"+ ListItemData.EventName; "}}] Description: "time:" + ListItemData.EventHour + ":" + ListItemData.EventMinute + ":" + ListItemData.EventSecond ;}}] "." onTriggered: {console.log ("Calling onTriggered:" + row);} var selectedEvent = dataModel.data (row); var eventDetailPage = eventDetailDefinition.createObject (); eventDetailPage.txtEventName.text = selectedEvent ['EventName']; eventDetailPage.pickEventTime.value = picker.dateFromTime(selectedEvent["EventHour"]+":"+selectedEvent["EventMinute"]+":"+selectedEvent["EventSecond"]); eventDetailPage.open (); }} the device connect by default to the 14:44:50.432 com.example.IntervalTimer1.testDev_ervalTimer1a7a2c2e2.11214974 may 28 9000 REVIEWS asset:///main.qml:122: TypeError: result of expression 'eventDetailPage.txtEventName' [undefined] is not an object. Can someone help me? Thank you
Have you tried to put the alias property in the root of the sheet in the TextField?
-
passing the value of Vo to procedure
Hi am in jdeveloper 11.1.1.9.0 how can I pass the viewobject value to procedure
I suppose you're confused on the way to the vo attribute, use below code
public void performNewPwd(String pwd){ HashMap map = new HashMap(); ViewObject svo = this.findViewObject("ViewObject"); svo.executeQuery(); Row row = svo.first(); String val=(String)row.getAttribute("Attribute");// get the vo attribute type cast to required data type, in this case I am showing string callPerformPwdLogon("package.procedure(?)",new Object[] { pwd,val }); }
-
How to pass the value of a column to a variable to be used in another analysis
Hello
I'm on OBIEE 11.1.1.7.1.
I have the following problem.
I have DISCOVERED called analysis. It has just a column with the result. Simple. Assume that the answer is 2500
I have another scan which has two other columns, namely GOLD and LOANS. I want to calculate the total DISCOVERED + GOLD + READY.
That's why I need to pass the value of 2500 of the first analysis of the second analysis via a variable.
I can not add all three of them in the same analysis there are various filters for OVERDRAFT, and the application of these filters on the GOLD and LOANS gives the desired result. I tried to add filters in the column of the overdraft, but that doesn't seem to work.
Any help will be greatly appreciated.
I'll give you an example. I hope that you will mark for my time...
Hope that you will be aware of how to combine a similar request.
in the first criterion you have
Goldprice Loanamount year 0
Second criterion
Year 0 0 Overdraftamount
the two maintain the necessary filters.
Add a column of result (option you can see in the topic area pane) that add all three columns. You can choose the columns. formula will come something like below
saw_1 + saw_2 + saw_3
Thank you
AJ
-
Passing the value of the SQL query select list
Hello
In my application users have in their homepage to a region which has two simple things, a part of LIST SLECT lov function and a BUTTON
There is also another page which has a normal life to report which shows the employees.
Homepage the user can select certain number of Department in its 'SLECT-LIST' and click 'open '.
For example: If the user has selected a DEP_NUM_5 and click on the BUTTON it will be redirected to the page of a report and gets only showed the employees belonging to the Department 5.
The report page contains a simple SQL query, and I understand that somehow I must pass the value in the SELECT LIST, where I now have the '?
How can I do this, where should I start?
Of course I would really appreciate an example of code, if anyone has time to do a.
select "EMP_ID", "EMP_FORNAME", "EMP_SURNAME", "DEP_NUMBER" from EMP E where E.DEP_NUMBER = ????????
Hi Sozua,
1. create an item hidden on the page where you have the report.
I say P2_DEPT_NO
2 assign to that in your sql query
select "EMP_ID", "EMP_FORNAME", "EMP_SURNAME", "DEP_NUMBER" from EMP E where E.DEP_NUMBER = :P2_DEPT_NO
below the area source ther is also an option
Elements of page to submit-> put this element in this.
for example;
Page to submit items: P2_DEPT_NO
3. change your button
Action: Redirecting to page of this application
Page: 2 / / assuming that page 2 is the report page
Place these items: P2_DEPT_NO
with these values: & P1_SELECT_LIST. assuming that selection list is on page 1
Hope this helps you,
Kind regards
Jitendra
-
Passing of value of the load capacity of the human task to query ADF VO BPM
Hello world
faced with the variable binding in the VO.
This is the scenario:
I have a page of the ADF in my BPM process that uses the variable in the flow of payload in variable display object related task.
My VO has this query:
Select FULL_NAME, user_name
of ROLE_TEAM
where in('IO-UB','AGG-CST-UB') role
and cdc =: sector
I need to pass the variable to link called 'sector' to it.
In my office, I have the variable called 'sector' but I don't know how to switch to the VO.
With the help of Jdev 11.1.1.7
Can you help me?
Thank you.
Fairlie
Well it should work, but it's a little more complicated that it should probably be. ( Dan Atwood accessories to be creative!)
You must call the method "ExecuteWithParams" on your view object before loading the page. This can be done during the loading of the page, or in the taskflow (a bit easier to explain).
First of all, as you described, create your SQL VO query with your variable binding "and cdc =: sector ' make sure 'sector' is a variable binding is set to be updated.
Then, create the link to your payload BPM 'sector' value (we'll call it SectorPayload) on your page (just drag as a text of output so that ADF automatically creates the link).
Now go to the taskflow which has your page that you are trying to view and expand the data control / view the object you want. The "ExecuteWithParams" method (in the folder of your VO in the DataControl operations) drag the taskflow. You will be prompted with an Assistant "Change the binding Action" which will have your listed parameter. Its 'value' uses the phrase EL editor develop "links ADF-> data-> of the page that you have created SectorPayload on (com_company_pagePageDef)-> variable-> inputValue. SectorPayload. The resulting expression should look like:
"#{data.com_avioconsulting_demos_showMyPayloadPageDef.SectorPayload.inputValue}".
Right-click activity and go to the activity of the brand-> by default (it runs everything first and highlights its green). Then draw a line from this activity to your view.
The view object should now be filtered according to your variable binding.
HTH!
-Kevin King
-
Pass the value using javascript:modalpage()
Hello
Apex 4.2
I need to know, is it possible to do the following.
I have 4 buttons on the page as (Suspend, end, restoration, Add) and whenever you press a button and then MODAL_REGION will appear and I m using this javascript:openModal('Open_Page');
within the action of the button - URL redirect for all the buttons. I did not create DAs for it as I create four DAs for each button.
So my question is? I can pass the value in the code above. like javascript:openModal('Open_Page'); $s(P6_ITEM1,'S');
but above does not work. I can just do a few DAs for him but don't want that for all buttons. Thus, when the press "SUSPEND" button hidden point P6_ITEM1 should take the of ' as a value, if the press which ENDED then take 'E' and so on.
Please advice?
Thank you very much.
RI
Hi Irha10,
There is no need to use a DA to pass values to it. In the redirect URL
javascript:$s('P6_ITEM','S'); openModal('Open_Page'); document.forms[0].P6_ITEM.focus();
Hope this helps
Kind regards
Benjamin.
-
Passing the value of the where clause with the page
Dear friends,
I have a requirement like when I select a selection list value I should pass this value to sql query where clause without submitting the page
ex I have a select like: P1_Dept guess I selects the value 10 in this
then I have a query select * from emp where deptno =: P1_Dept.
DB. ORACLE 11G
APEX 4.1.1.00.23
is this possible? can someone help me please in this topic
Thanks and greetings
Vballeda
Suppose we have the selection list with the name P1_DEPT and query for report
select * from emp where deptno = :P1_DEPT
We create dynamic Action on the evolution of the P1_DEPT point. We will need two real actions:
1-> set value action
Set the Type - > body of the PL/SQL function
The function of body - > return 1;
Page item to submit-> P1_DEPT
Change to delete-> Yes event
Selecttion Type-> trigger element
2. action-> Refresh
Selecttion Type-> region
Region-> your region of report
Maybe you are looking for
-
Web site looks different without "www" is entered in the address bar.
Hello, I just created a web site, www.danwoodard.com. When I type in "www.danwoodard.com" everything seems as it should. However, if I omit the "www" and enter only "danwoodard.com" the site is much larger than it should be. This does not happen with
-
Satellite Pro A10 fails to start - IDE #0 ERROR
On startup, I get the Toshiba start screen and there is a regular click from the HARD drive. After 20 to 30 seconds, I get: ERROR IDE #0 then a pause, followed by the following codes of boot agent (Intel FE v4.1.09) PXE - E61: Media test failure, che
-
How to install NO circuit design costume 10.1.1
Hello...I can't uninstall, NO circuit design costume 10.1.1I had some problems when I install the software, after I deleted backup files in the program files and uninstalled fromControl Panel (Add / Remove Programs) and I did every thing... but I'm o
-
Error loading application for Blackberry
Everything works fine on the Simulator, but when I download the app for Blackberry (Blackberry "BOLD") by using the Desktop Manager I get the error "error starting {project name}: Class 'net.rim.device.api.ui.UiEngineInstance' not found '? I am impor
-
Months ago, I created a free account but now the Church I work for a software how to install help it serial number?