How to call the script shell of the Hyperion Workspace
Hi all
I have to call a shell script of the Hyperion workspace. After searching on Google, I came to know that its possible using generic employment applications.
So I created a generic job application in the workspace to help below in detail.
Job name: set_run_shell
Server: Name of the Server workspace
Order tempate: $PROGRAM $PARAMS
executable: Cygwin executable path (like hyperion installed in windows server 2008, I had to install Cygwin to make the unix-like environment)
Just write simple shellscript that the ECHO command displays "Hello World."
Imported this shell script and above assigned jobs for it but no luck, when I run this job I never see output or less error. It showing the message running for a long time until get session expires.
Can someone help me to run a shell script.
Thank you
Aravind
The executable file must be %WINDIR%\System32\cmd.exe cmd.exe
You will also need to create a batch file that comes from this
Concerning Celvin Kattookaran
Tags: Business Intelligence
Similar Questions
-
How to call the setting menu of the BIOS on HP DV4 1540us netbook?
Hi all
How to call the setting menu of the BIOS on HP DV4 1540us netbook?
F2 does NOT an on-screen BIOS setting.
Is there another trick? Or, perhaps, defining the procedure step by step to start the BIOS?
TIA
Power on the laptop and all logo HP being displayed, press F10.
-
How to call the web service?
Hello
I want to know how to call the web service from my application HTML5 & javascript.
Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.
I just want that when you call a web service method, I will return the result.
Please try this out for a WebService call
var xmlhttp; xmlhttp = new XMLHttpRequest(); xmlhttp.open("get","your url",true); xmlhttp.setRequestHeader("Accept","application/json"); xmlhttp.setRequestHeader("Content-type", "application/json"); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { if (xmlhttp.status == 200) { console.log(xmlhttp.responseText); } } } xmlhttp.send();
This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.
-
How to call the procedure type table
Hi I have the below requirement
Created in the sub table type
CREATE or REPLACE the TYPE char_type IS the TABLE OF VARCHAR2 (4000);
create or replace procedure test_proc_type (p_type char_type) is
Start
I'm looping 1.p_type.count
dbms_output.put_line (p_type (i));
end loop;
end;
How to call the procedure with parameter as a type!
SQL> create or replace type char_type as table of varchar2(4000) 2 / Type created. SQL> create or replace procedure test_proc_type (p_type char_type) 2 is 3 begin 4 for i in 1..p_type.count loop 5 dbms_output.put_line (p_type(i) ) ; 6 end loop; 7 end; 8 / Procedure created. SQL> set serveroutput on SQL> SQL> exec test_proc_type(char_type('A','B','C','D','E')) A B C D E PL/SQL procedure successfully completed. SQL>
-
How to call the java function with javascript setting in mobile adf?
How to call the java function with javascript setting in mobile adf?
The ADF Mobile utility container API can be used from JavaScript or Java.
-
How to call the stored procedure when I press the button
Hello
I want to know how to call the procedure/SQL statement when I press the button using callable statement.
can someone give me it please link who knows the steps to do this.
Thanks in advance,
SANHello
read this good example http://www.baigzeeshan.com/2010/05/calling-plsql-procedure-and-function-in.html
~ Abhijit
-
How to call the variables of the scene inside movieClips
How to call the variables of the scene inside movieClips
One way would be to use "MovieClip (root)" to target variables in the main timeline... MovieClip (root) .someVariable = someValue;
-
How to call the javascript function in ADF
I have the javascript function stored in a .js file external (try to reuse in another application). How can call the javascript function for an event of ADF faces component. I need to I am a newbie to ADF, all ideas are appreciated.
Kind regards
Surya
Published by: sgodavar on Sep 24, 2010 11:44Include JavaScript to the jsff/jspx as page:
Call it like:
Type = "dblClick" / >
Amit -
How to call the function (function Build-in user) in Pro * C program
We have developed the application Pro * C program.
TimesTen version is "TimesTen release 11.2.1.5.0 (64-bit, Linux/x86_64) (tt112150:53308) 2010-03 - 04 T 20: 39:30Z.
We would like to develop Pro * C program you are using PL/SQL.
We have a few questions.
How to call the function (function Build-in user) in Pro * C program?
#########
TEST
#########
ttisql:
Command > create or replace FUNCTION F_SAMPLE (i_str IN VARCHAR2)
> BACK NUMBER
> o_number NUMBER;
> START
> select i_str
> in o_number
> double;
>
> O_number RETURN;
>
> EXCEPTION
> Others THEN
> RETURN 0;
> END;
> /.
display errors
The function is created.
Order > show errors
No errors.
Command >
Command > set serveroutput on;
Command > declare
> number of num1;
> start
> num1: = F_SAMPLE ('A');
> DBMS_OUTPUT. PUT_LINE ("F_SAMPLE" |) ' ' || NUM1);
> end;
> /.
F_SAMPLE 0
PL/SQL procedure successfully completed.
Command >
Pro * C case:
EXEC SQL BEGIN DECLARE SECTION;
number of num1;
EXEC SQL END DECLARE SECTION;
EXEC SQL EXECUTE
Start
: num1: = F_SAMPLE ('A');
end;
END-EXEC;
Make sure to install:
Error on line 146, column 3, file plsqlPROC.pc:
Error on line 146, column 3 in file plsqlPROC.pc
number of num1;
.. 1
PCC-S-02201, encountered the symbol "num1" when expecting one of the following conditions:
Thank you.
GooGyumThere are two problems with your variable declaration:
1. the name of the variable and type are thew misplacement autour.
2. you may not use a host variable type.
If you change this to:
EXEC SQL BEGIN DECLARE SECTION;
int num1;
EXEC SQL END DECLARE SECTION;Then it will work very well.
Chris
-
How to recover the sparsebundle workspace?
Hi all
EL Cap 10.11.5
I made a my.sparsebundle which was for 2 GB
- then I almost filled
- then I deleted 50%
- then run the Terminal command
-Recovered 0 bytes
-so I've removed everything inside and running the command again
-always it recovered 0 bytes
Q How do this work?
-------
How to recover the sparsebundle workspace?
I went to the terminal and type:
hdiutil compact /Users/me/Documents/my.sparsebundle
and he succeeded, but said regenerated = 0 bytes of 48.9 MB possible.
s http://blog.fosketts.NET/2015/07/22/how-to-use-Mac-OS-x-sparse-bundle-disk-image.
-
I tried to call a script in a loop of a procedure of Jython, using startcmd.bat and sub-process; the command succeeds when I omit the "-AGENT_CODE = MySA_Agent1 ' parameter (highlighted and emboldened)
But omitting the '-AGENT_CODE = MySA_Agent1 "the scenario starts with the default value (no Agent) and subsequently fails to find the w: drive. Wen, I understand the '-AGENT_CODE = MySA_Agent1 ' the command fails with return code 2.
Also, it seems that the OdiWaitForChildSession will not work with this approach, because the sessions so are not recognized as child sessions at all.
Another simpler process is to have a step for each folder that I want to ask and just use OdiTools and StartScen; but it's a huge process because it could have potentially many interrogation records.
Please Guide:
from __future__ import with_statement
from com.ziclix.python.sql import zxJDBC
import of subprocesses
#GetSources.py
def getdata (c, stmt):
Try:
c.Execute (stmt)
except zxJDBC.Error, e:
raise Exception (e, stmt)
Another thing:
return c.fetchall)
driver, url, user, passwd = ("< % = odiRef.getInfo ("SRC_JAVA_DRIVER") % > ',")
'< % = odiRef.getInfo ("SRC_JAVA_URL") % >',
'< % = odiRef.getInfo ("SRC_USER_NAME") % >',
'< % = odiRef.getInfo ("SRC_PASS") % >'
)
Try:
subprocess.check_call ([' cmd',
'/c',
"dir" command
« t: »
])
except subprocess. CalledProcessError, e:
raise the Exception (e, ' Mapping The for the t: drive has not completed in the previous step. aborting... ")
Another thing:
folddic = {}
with zxJDBC.connect (url, user, passwd, pilot) as conn:
with conn.cursor () heart:
stmt = "SELECT SOURCE_SYSTEM, ABS (DIC - ROWNUM) FROM (SELECT SOURCE_SYSTEM, COUNT (1) DIC FROM DIR_USER.). (RÉPERTOIRES WHERE ACTIF = \ 'Y\' GROUP BY SOURCE_SYSTEM) ".
for the NTC in getdata (cur, stmt):
folddic [Str(CNT[1]) [:-2]] = cnt [0]
because me in folddic.iterkeys ():
Try:
subprocess.check_call ([' cmd',
'/c',
"startcmd.bat,"
"OdiStartScen,"
'- SCEN_NAME IS POLL_T_DRIVE_AND_SUBDIRS',
'-SCEN_VERSION = - 1',
'-SESSION_NAME = Polling_' + str (folddic.get (i)).
'-AGENT_CODE = MySA_Agent1',
'- SYNC_MODE = 2',
'-Interfaces.VarSubDirectory =' + str (folddic.get (i)).
'- Interfaces.VarPollInterval = 5'.
'- Interfaces.VarTimeout = 4'.
'- Interfaces.VarWait_N_Minutes = 30000 ".
])
except Exception, e:
raise the Exception (e)
Another thing:
Print "Called".
Hello
After much deliberation with the approach Prrocedure to do that are installed with the package, has been described in https://blogs.oracle.com/dataintegration/entry/using_variables_in_odi_creatin.
It takes away that the question of the child scenario waiting problem sessions will be managed ODI.
It was a good learning experience anyway.
Thank you for contributing A J Chantal Mangano
and JeromeFr for your taste.
-
How to call the ratiobutton function?
Hello world
I had this script
var d = app.dialogs.add ({name: "Define empty Pages"});
var radioBtns = d.dialogColumns.add ().radiobuttonGroups.add ();
radioBtns.radiobuttonControls.add({staticLabel:"Save",checkedState:true});)
radioBtns.radiobuttonControls.add ({staticLabel: "No. Save"});
radioBtns.radiobuttonControls.add({staticLabel:"Exit"});)
If (! d.Show ()) {d.Destroy () ;}
var saveOption = radioBtns.selectedButton;
d.Destroy ();
docs var = app.documents.
for (var i = docs.length - 1; i > = 0; i--) {}
If (.saved docs [i] == false) {}
docs [i] except (new file ("~/Desktop/myTestDocument" + (i + 1) + ".indd"));
docs [i]. Close();
}
else {}
docs [i]. Close (SaveOptions.no);
}
}
for the docs close without saving, but
I want to stay choice for these files not backed up, so I add dialogue open to the case wherever I decide if I save those of the unsaved file.
Now, the problem is that I don't know how to let the ratiobutton call function
My goal:
(1) choose 'Save' means save files not backed up, but not others
(2) choose "No save" means all files without saving
(2) choose 'exit' unsaved files exit (stay open) but others nearby
Thank you
Respect of
Teetan
Fixed,
var myDate = new Date; Date.prototype.monthName = function() { var myMonth = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; return myMonth[this.getMonth()]; }//This line was proposed by Marijan Tompa (tomaxxi) var myMonthName = myDate.monthName(); var myYear = myDate.getFullYear(); var myHour = myDate.getHours(); var myMinutes = myDate.getMinutes(); //open dialog var d=app.dialogs.add({name:"Unsaved files Save or not"}); var radioBtns = d.dialogColumns.add().radiobuttonGroups.add(); var save = radioBtns.radiobuttonControls.add({staticLabel:"Save",checkedState:true}); var nosave = radioBtns.radiobuttonControls.add({staticLabel:"No Save"}); var _exit = radioBtns.radiobuttonControls.add({staticLabel:"Exit"}); if(!d.show()){d.destroy();} var docs = app.documents; switch(radioBtns.selectedButton) { case 0: for(var i = docs.length-1; i >= 0; i--) { if(docs[i].saved == false) { docs[i].save(new File("~/Desktop/Doc" + (i+1) + "-" + myDate.getDate() + " " + myMonthName + " " + myYear + " " + myHour + myMinutes + ".indd")); docs[i].close(); } else { docs[i].close(SaveOptions.NO) } } break; case 1: for(var i = docs.length-1; i >= 0; i--) { docs[i].close(SaveOptions.NO) } break; case 2: for(var i =0;i
Kind regards
Cognet
-
How to call the function cascade BlackBerry
I begineer in blackberry c ++.
I do two class is testobject and second in test .i call the onther text function average () and nexttext();
so please how to call this function.
// Default empty project template #include "TestObect.hpp" #include
#include #include using namespace bb::cascades; TestObect::TestObect(bb::cascades::Application *app) : QObject(app) { // create scene document from main.qml asset // set parent to created document to ensure it exists for the whole application lifetime QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this); // create root object for the UI AbstractPane *root = qml->createRootObject (); // set created root object as a scene app->setScene(root); } void TestObect::test(){ qDebug()<< "****************Naveen"; } I insert also declared in the header file.
Q_INVOKABLE Sub test();
then I create another test class.
/* * test.cpp * * Created on: Apr 2, 2013 * Author: nksharma */ #include "test.h" test::test() { // TODO Auto-generated constructor stub } void test:: nexttest(){ qDebug()<<"***********Next test*********" } test::~test() { // TODO Auto-generated destructor stub }
error in the file namespace,
here in file herder
the namespace error
/* * test.h * * Created on: Apr 2, 2013 * Author: nksharma */ #ifndef TEST_H_ #define TEST_H_ class test { public: test(); virtual ~test(); Q_INVOKABLE void nexttest(); }; #endif /* TEST_H_ */
You have a space between the colon and the n in:
void test:: nexttest()
Another thiing, if you are using Q_INVOKABLE, you must declare Q_OBJECT in your front header file public:
If you're still having problems, try to clean up the project with Project > clean... -
How to call the paint of another method program
Hello
I have a custom BitmapField that I would like to drawText, using graphics.drawText. Previously, I had no problem, that I would call setBitmap to the paint method and it would make the drawText. However, he did an infinite loop problem, so I moved it to another function, that will affect the value manually the bmp. Now, I am unable to drawText, that I placed this code in my service object. I would, however, when I select this particular BitmapField to drawText.
For now, since another function setBitmap is not a very good option because this will call the FieldManager sublayout which I think can be a battery problem. Is there another way I can call drawText?
What is the reason, once again, to not draw the text from inside her object? Why must you to setBitmap() to draw the text in the first place?
Indeed, setBitmap() inside of object causes an infinite loop (I remember this post). However, it should not be linked to draw text in any way, nature or form.
Check some (members) variable inside your method object and make the draw you need based on this value. If you want your bitmapField to draw text under certain conditions, change the value of this member and invalidate(), causing object pick up the change.
In addition, if your FieldManager sublayout a problem, there are a problem. Look at this code and fix the bugs rather than them with all kinds of mobile code around masking.
If you need more assistance, please post here the pieces of code (especially how you would draw the text when it worked) and we'll figure out something.
-
How to call the ObjectChoicefield by clicking any Buttonfield
My problem is
(1) I want to call this choice of subject field when click on any ButtonField
(2) how to customize the width according to my condition and I want to show this the button like the picture above
Thanks in advance.
Hi Anil,
In the method of sublayout Popup screen, you can give it
protected void sublayout (int width, int height)
{
Super.sublayout (width, height);
setPosition(x,y);
}Now you can get the popup x, y
Maybe you are looking for
-
Do I need Internet Explorer security updates if I use Firefox?
Hello! I can't find an answer to this question via a Google search, so I ask you here please. I use Windows 7 and see a lot of regular updates to Internet Explorer during installation. But I never use Internet Explorer, I only use Firefox. So I wante
-
iTunes saying update a completely updated iPhone update
Greetings. I have an iPhone 6 with iOS 4.2.1 updated overnight, it just came out via iTunes, as I have for always. Suddenly today, when I plug my phone in iTunes tells me that there is an update available... 4.2.1. If I try the software on my phone u
-
Cannot install El Capitan on old iMac that I wish to sell.
I get the message to use purchases page to try again but I put the computer to factory settings. I don't have an operating system or applications available. I can't get past "downloading additional components. Your computer will restart automatically
-
The touchpad scroll not working no-Windows 8 updated
HP Pavilion dv7 laptop computer that came with Windows 7, I've upgraded to Windows 8, but now the touchpad scrolling is not working. I tried; update the driver reinstalled the original driver troubleshoot compatibility on the original tried a battery
-
where to get the recovery partition
WHERE TO FIND THE PARTITION RECOVERY FOR MY HP PAVILION G6