How to run an interface or a package using SDK API
I know how to run the scenarios generated from the interfaces or packages by using the following methods of SDK:Invoker RemoteRuntimeAgentInvoker = new RemoteRuntimeAgentInvoker (pAgentUrl, IVsWebBrowserUser, Ppassword)
invoker.invokeStartScenario (pScenName, pScenVersion, pVariables, pKeywords, pContextCode, pLogLevel, pSessionName, pSynchronous, pWorkRepName);
But I want to know if I can directly invoke a running interface/package using the API of the SDK and don't generate their scripts?
Anyone know it and could you tell me the methods? Appreciate for your help.
In my view, ODI SDK currently does not offer any method to run the interface or package. Although you can stop/resume a session, but cannot start a new session, so I guess that you can run manually or hand over the package and interfaces scenario for build and run through the SDK package.
Tags: Business Intelligence
Similar Questions
-
How to run four procedures, in order, by using anonymous block
Hello
I am trying to run four procedures, in order, by using anonymous block. If one of the procedure fails remaining should get executed. How can I achieve this?
For example:
BEGIN
PROC1;
Proc2; -Suppose that Proc2 will fail, it should not affect the execution of Proc3 and proc 4
Proc3;
Proc 4;
END;Thank you!
Hello
Maybe this can help you:
BEGIN begin Proc1; exception when others then dbms_output.put_line('proc1 ' || sqlcode || ' ' || sqlerrm); end; begin Proc2; exception when others then dbms_output.put_line('proc2 ' || sqlcode || ' ' || sqlerrm); end; begin Proc3; exception when others then dbms_output.put_line('proc3 ' || sqlcode || ' ' || sqlerrm); end; begin Proc4; exception when others then dbms_output.put_line('proc4 ' || sqlcode || ' ' || sqlerrm); end; END;
In your case, it may be useful if your procedures have their own exception handlers, so they never fail. But then you need a sort of exception information that is displayed.
concerning
Kay -
How to get an ip address from VC using vcloud api
Hello
In my environment VC vCloud Director is managed by name. Via the vCloud webservice I can find out the ip address of the virtual centre (in vcenter property page). How to get this Ip VC help vcloud java sdk 1.0.
Thank you
-Kkkkkkkk
Hello
VMWVimServer vimServer = VMWVimServer.getVMWVimServerByReference (vcloudClient, vimServerRef);String vcUrl = vimServer.getResource () .getUrl ();Kind regards
Rajesh Kamal.
-
How to add new resource to existing routes using the API / Interface Tables?
Hi friends,
I need to add new resources to our existing ranges. The number of records is more than 10,000. So I need to create an anonymous block for her. But I don't know what are the tables Interface / API to use for their insertion. If anyone can guide me how can this be achieved, I would really appreciate it. If you can provide me with an example of code for it, it would be the best.
Thanks in advance.
KMHi KM.
PL insert the line in the BOM_OP_RESOURCES_INTERFACE table with
INSERT INTO BOM_OP_RESOURCES_INTERFACE
(process_flag, transaction_type, organization_id, routing_sequence_id, operation_seq_num, resource_seq_num,
resource_code, assigned_units, usage_rate_or_amount, basis_type, schedule_flag, creation_date, effectivity_date)
VALUES
(1, 'CREATE', organization_id, v_rout_seq_id, v_operation_seq_num, v_resource_seq_num, v_resource_code,
v_assigned_units, v_usage_rate_or_amount, DECODE (v_basis_type, 'BATCH', 2, 'ITEM', 1),
Decode(i.schedule_yes_no, 'YES', 1, 'NO', 2), sysdate, v_eff_dt);Where, v_eff_dt = SELECT operation_sequence_id, effectivity_date IN v_oper_seq_id, v_eff_dt
OF bom_operation_sequences b
WHERE b.routing_sequence_id = v_rout_seq_id
AND b.operation_seq_num = v_operation_seq_num;Then run simultaneous 'Bill and routing Interface' to import resources into the existing ranges.
HTH
Sanjay -
How to run two 'County of buffered edge' using two different counters at the same time?
Hello
I try to use two counters at the same time count the TTL pulses for a fixed period (lets say 10 ms). I have the card PCI-6251 and PCI-6601. I am currently using PCI 6601 as counters and running a self updated the ' stamped edge County - reset.VI. Here, I have attached my VI.
Now, during the execution of this VI, I get an error saying "error-200251 occurred at Task.vi:4 DAQmx Start" and the possible reasons are, "measures: no USB or DMA channels in loose ends are available.»
Either stop other tasks which might be using these resources or are considering changing your mechanism for transfer of data to the interruptions if supported.
Device: Dev2
Task name: _unnamedTask<80>. »
What I realized is I'm trying to use two buffers for two meters with ten samples each and this is probably not allowed. I don't know how to solve this out and bad looking for your suggestions.
Thanks in advance.
Hi all
I found a solution too. This is the VI updated the "County of edge stamped" which can simultaneously run two entries-meter using a single source of door and it also uses the DMA and interrupts to save two pads.
Have a nice weekend.
80> -
How to run the command import and jpximport using PuTTY
Hello
I ' v no access to use prompt command for security in place of the customer.
So I have to use Putty to run the import command to import my clumsy custom pages in the database.
I tried XMLImporter using PuTTY, it says import is complete. But still my survey error page that
Application: DNF, Message name: FND_NO_REGION_DATA. Chips: BOUNDING = / at/oracle/apps/per/coe/XXCOEPG
oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / at/oracle/apps/per/coe/XXCOEPG, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
Can someone please provide a solution for this.
Thanks in advance,
SANHi SAN,
Try it by XML importer it I will work
for ex:
Java applications oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxtop/oracle/apps/per/jobevaluation/webui/XXTextPG.xml - username username-password apps - rootdir $ rootPackage JAVA_TOP/xxtop/oracle/apps/by/covering/webui - / xxtop/oracle/apps/per/jobevaluation/webui - dbconnection ' (DESCRIPTION = (ADDRESS_LIST = (LOAD_BALANCE = YES) (FAILOVER = YES) (ADDRESS = (PROTOCOL = tcp)(HOST=*xxHostName*) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = DEV))) ".
After running successfully command below any DB tool
Begin
JDR.utils_printdocument ('pagepath' ex: ' / xxtop/oracle/apps/by/covering/webui/XXTextPG ');
endKind regards
Srinivas -
How to run a web application in JDeveloper11g using the jdk 1.4.2_04
Hello
I'm trying to run a jsp/servlet web application in JDeveloper 11 g which was developed in JDeveloper 10.1.3. I migrated the application for JDeveloper 11 g and when I tried to build the project, it is throwing an exception as * "' error: project is not configured to use at least JDK 6. * after changing the version of jdk 1.4.2_04 for under project properties/libraries & Classpath/Java SE Version." There are other parameters to change? Can someone guide me on this.Hello
JDeveloper 11 g is a JEE 5 environment (so according to JSE 5), including medicines generic and other features. It so there's no way that you will always be able to run using any environment 1.4.x.
Kind regards
~ Simon
-
How to run a Linux Windows powershell command using winRM?
1. are there available pots or adapters also?
2. can we use the SOAP to get the communication, calls of Linux?
Searched for the answer for some time now. Help, please.
Hello
Thanks for posting your query in Microsoft Community.
The queries that you have described here would be better suited in the TechNet forum. I suggest you post in this forum using the link below to get assistance.
https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro
I hope this helps.
-
How to reset / the end of the execution using the API?
I try different sequences of launching programmatically, then see the final results. The results of execution always show the results of the first call to
TS_ExecutionGetResultStatus. Even if I'm running a different sequence. Is there a method to close the last results of execution?
Thank you
Mike
Here's a snippet of what I do.
tsErrChk (TSUI_SequenceFileViewMgrRun (tsoHandles.sequenceFileViewMgr & errorInfo, CA_DEFAULT_VAL, NULL));
CA_DiscardObjHandle (tsoHandles.executions);
tsErrChk (TSUI_ApplicationMgrGetExecutions (tsoHandles.applicationMgr, & errorInfo & tsoHandles.Executions));
tsErrChk (TSUI_ExecutionsGetItem (tsoHandles.Executions, & errorInfo, 0, & tsoHandles.Execution));
If (bWait)
{/ / Wait}
While (Test_Running())
{/ / Running}
ProcessSystemEvents();
iCount ++;
} / / Running
} / / Wait
tsErrChk (TS_ExecutionGetResultStatus (tsoHandles.Execution, & errorInfo & szResults));
If (strcmp (szResults, "had") == 0)
bRet = TRUE;
If (strcmp (szResults, "Failed") == 0)
bRet = FALSE;I think the following should work:
TSUI_ApplicationMgrCloseExecution()
TSUI_ApplicationMgrCloseAllExecutions()
Hope this helps,
-Doug
-
How do we get the device phone number using webworks api 2.0
I could see an example of code to get the phone number of javascript which is not supported for BB10. The code below does not work for BB10? If so, what is one alternative to the native extension.
Hi beats,
It is currently not possible. The only way you could get the phone number in this moment is to create a native extension that accesses the 'phone' / 'Line' API here http://developer.blackberry.com/native/reference/cascades/bb__system__phone__line.html?f=line#functi...
-
How to recover contact entities then 125 more using Eloqua API Version 1.2?
Hello Falks,
I created my own windows App in .net for recover data from Eloqua-10 Contacts using the Eloqua API version 1.2. When I ask for the contact entity by using the following code:
queryResult = service.serviceProxy.Query (contactEntityType, searchQuery, fieldList.ToArray (), currentPage, pageSize);
where if I give pageSize in more than 125 it gives the following error msg being attached to this discussion. While I've made thousands and I want back all in a single query. Kindly, help me on the same based on the ASAP. It will be a great help for me.
Thanking you,
Kind regards
Dhaval Doshi.
Hi Alain,
If you plan to export contact thousands records, you want to look at the documentation of the API in bulk here: Eloqua bulk API 1.0: import and export of data.
-
How to add contacts to the step program using the API?
Need to add contacts at the stage of program by using APIs. We know that we can list the programs and the program steps using the REST API (assets/programs and assets/program/step). But REST GET only operation is now available (correct me if I'm wrong). Is it possible to add contacts to a program step (SOAP or REST - is irrelevant)?
You can assign the Contact to a Contact via the API group, and then use a charger to enter Contacts into the program.
-
How to run the packaged procedure with Ref Cursor
Hello.
The question may be very simple for you... but I was confused how to run
I have the following package
But I want to test (run) this procedure...CREATE OR REPLACE PACKAGE CURSPKG AS TYPE T_CURSOR IS REF CURSOR; PROCEDURE OPEN_ONE_CURSOR (N_EMPNO IN NUMBER, IO_CURSOR IN OUT T_CURSOR); END CURSPKG; / CREATE OR REPLACE PACKAGE BODY CURSPKG AS PROCEDURE OPEN_ONE_CURSOR (N_EMPNO IN NUMBER, IO_CURSOR IN OUT T_CURSOR) IS V_CURSOR T_CURSOR; BEGIN IF N_EMPNO <> 0 THEN OPEN V_CURSOR FOR SELECT EMP.EMPNO, EMP.ENAME, DEPT.DEPTNO, DEPT.DNAME FROM EMP, DEPT WHERE EMP.DEPTNO = DEPT.DEPTNO AND EMP.EMPNO = N_EMPNO; ELSE OPEN V_CURSOR FOR SELECT EMP.EMPNO, EMP.ENAME, DEPT.DEPTNO, DEPT.DNAME FROM EMP, DEPT WHERE EMP.DEPTNO = DEPT.DEPTNO; END IF; IO_CURSOR := V_CURSOR; END OPEN_ONE_CURSOR; END CURSPKG; /
But confused how to have Ref Cursor
Could you help me in this...
Thank youYou must declare a variable of type T_CURSOR and pass it to the procedure like this.
declare lOutCursor CURSPKG.T_CURSOR; begin CURSPKG.OPEN_ONE_CURSOR(
, lOutCursor); end; -
I am a student of plsql, how to run package? give some examples of how to self-test code and package programs
You cannot run the package
you run the procedure/function in packagePlease see
http://docs.Oracle.com/CD/B10501_01/AppDev.920/a96624/09_packs.htm>
A package is a schema object which includes subroutines, the elements and the logically related PL/SQL types. -
How to run a package command line ODI
Please can someone help me figure out how to run an ODI package from the command line without creating a scenario of the packaging.
Appreciate your help.
Thank you
BYou can not. Create a scenario and which then executes the command line.
Maybe you are looking for
-
Appearance of the new Firefox 29,0 - the worst ever!
My god! What did you do the toolbar of Firefox Firefox 29,0? Why the hell are you trying to emulate Google Chrome? What did you do to the Firefox toolbar nice with the orange left corner with the help of Options, history, comments, etc.? I want than
-
Windows Defender service does not start on Windows 7
On my laptop, Windows Defender is no longer in effect. Reads the message: the service does not start. When I manually try to start the Defender, the massage is: file not found!I can't remove Defender another upodate no longer works. Someone knows a s
-
Satellite L850 - is possible to connect two monitors external simultaneosly
Hi, I have a L850-150 and I would like to know if it is possible to connect two monitors external simultaneosly, one by Hdmi and the second by Vga to enjoy an installation of three active screens (including the laptop screen). Im trying to figure out
-
HP 3050 has: only want to print in black
I want to print in black only. My color inks are very low, my almost full black ink. How can I do this?
-
Pavilion 15 t-n200: properties of HARD drive problem
I have recently restored a Sys Image of my old Dv6 (500 GB) to my new 15t (1 to). After working with Provost Paul for a few days, I had all the graphic and network problems solved. Two outstanding issues: 1. the properties of the HARD drive always